diff --git a/js/input.js b/js/input.js index f452767..e968e53 100644 --- a/js/input.js +++ b/js/input.js @@ -16,7 +16,14 @@ function addKeyListeners() { } } }); - + keypress.register_combo({ + keys: "down", + on_keydown: function() { + if(gameState==1){ + toggleRush(); + } + } + }); keypress.register_combo({ keys: "a",