diff --git a/src/game/lib/history_record_manager.js b/src/game/lib/history_record_manager.js index a583881..1ccf7af 100644 --- a/src/game/lib/history_record_manager.js +++ b/src/game/lib/history_record_manager.js @@ -75,7 +75,7 @@ HistoryRecordManager.prototype.getBestRecordArray = function() { // for(var data of this.historyRecords) { // numberArray.push(data.bestRecord); // } - for(var i = 0; i < this.historyRecords.count; i++) { + for(var i = 0; i < this.historyRecords.length; i++) { var data = this.historyRecords[i]; numberArray.push(data.bestRecord); }