better gamestates
This commit is contained in:
parent
666fa8b511
commit
0ddf85c921
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ keypress.register_combo({
|
|||
gameState = prevGameState;
|
||||
requestAnimFrame(animLoop);
|
||||
}
|
||||
else {
|
||||
else if(gameState != -2 && gameState != 0) {
|
||||
prevGameState = gameState;
|
||||
gameState = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue