Fix: apply score+unit to ranking screen

This commit is contained in:
2018-12-06 00:28:46 +09:00
parent 1c03f9187d
commit 350b24d511
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -254,7 +254,10 @@ var Ranking = {
// bestRecordRow[0] = jsonRankingList[i]['UserID'];
bestRecordRow[0] = i + 1;
bestRecordRow[1] = jsonRankingList[i]['Name'];
bestRecordRow[2] = Math.floor(jsonRankingList[i]['BestRecord']);
bestRecordRow[2] = RecordUtil.getRecordValueWithUnit(
jsonRankingList[i]['BestRecord'],
sessionStorageManager.getPlayingAppID()
);
// console.log("$BestRecordRow : " + bestRecordRow[0] + ", " + bestRecordRow[1] + ", " + bestRecordRow[2]);
recordArray.push(bestRecordRow);