Fix: reset record score to 0 when game starts
This commit is contained in:
@@ -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