Add key shortcut for debug, add starting measure and restart

This commit is contained in:
LoveEevee
2018-10-14 23:14:58 +03:00
parent 04473acb74
commit 122d3c06c8
5 changed files with 101 additions and 26 deletions

View File

@@ -38,7 +38,7 @@ class Controller{
syncWith.startDate = this.game.startDate
this.syncWith = syncWith
}
if(this.multiplayer !== 2){
if(!this.multiplayer){
debugObj.controller = this
if(debugObj.debug){
debugObj.debug.updateStatus()
@@ -224,7 +224,7 @@ class Controller{
pageEvents.remove(this.songSelBtn, ["click", "touchend"])
delete this.songSelBtn
if(this.multiplayer !== 2){
if(!this.multiplayer){
debugObj.controller = null
if(debugObj.debug){
debugObj.debug.updateStatus()