Fix: update best record for every hour

This commit is contained in:
2018-06-06 00:06:40 +09:00
parent 3f43f80c3d
commit b4f0531db0
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class Game {
scoreManager.addOnChangeHighScoreListener( highScore => {
sessionStorageManager.bestRecord = highScore;
sessionStorageManager.isNewBestRecrd = true;
screenBottom.printBottomLeftTextWithBestRecord();
screenBottom.printBottomLeftTextWithBestRecord(sessionStorageManager.bestRecord);
});