Fix: reset record score to 0 when game starts
This commit is contained in:
1 parent
4c1a2a278e
commit
9238d4daa7
7 files changed
+7
No files matched your search
@@ -2,6 +2,7 @@ var Game = {
|
||||
|
||||
create: function() {
|
||||
this.dbConnectManager = new DBConnectManager();
|
||||
sessionStorageManager.setRecord(0);
|
||||
|
||||
this.game.stage.backgroundColor = "#000000"; // '#4d4d4d';
|
||||
|
||||
|
||||
Reference in new issue
Block a user