fixed issue in which waves would restart after resuming the game
This commit is contained in:
parent
d871437cf0
commit
63d5aaa2be
1 changed files with 1 additions and 1 deletions
|
@ -145,13 +145,13 @@ var gameState;
|
|||
setStartScreen();
|
||||
|
||||
function resumeGame() {
|
||||
debugger;
|
||||
gameState = 1;
|
||||
hideUIElements();
|
||||
$('#pauseBtn').show();
|
||||
$('#restartBtn').show();
|
||||
importing = 0;
|
||||
startTime = Date.now();
|
||||
waveone = saveState.wavegen || new waveGen(MainClock,Date.now(),[1,1,0],[1,1],[1,1]);
|
||||
}
|
||||
|
||||
function hideUIElements() {
|
||||
|
|
Loading…
Reference in a new issue