Merge branch 'clay-improvements' of https://github.com/Hextris/hextris into clay-improvements
This commit is contained in:
commit
9eecb2746a
1 changed files with 4 additions and 1 deletions
|
@ -65,9 +65,12 @@ function addKeyListeners() {
|
|||
keypress.register_combo({
|
||||
keys: "enter",
|
||||
on_keydown: function() {
|
||||
if (gameState==2 || gameState==1 || importing == 1) {
|
||||
if (gameState==1 || importing == 1) {
|
||||
init(1);
|
||||
}
|
||||
if (gameState == 2) {
|
||||
init();
|
||||
}
|
||||
if (gameState===0) {
|
||||
resumeGame();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue