better gamestates

This commit is contained in:
garrettdreyfus 2014-05-25 21:04:14 -04:00
parent 666fa8b511
commit 0ddf85c921

View file

@ -26,7 +26,7 @@ keypress.register_combo({
gameState = prevGameState;
requestAnimFrame(animLoop);
}
else {
else if(gameState != -2 && gameState != 0) {
prevGameState = gameState;
gameState = -1;
}