made down key on hold

This commit is contained in:
Garrett Finucane 2014-08-24 13:04:27 -04:00
parent 9f8d338394
commit 5d949656ec

View file

@ -19,10 +19,12 @@ function addKeyListeners() {
keypress.register_combo({
keys: "down",
on_keydown: function() {
if(gameState==1){
toggleRush();
}
rush=2;
},
on_release: function() {
rush=1;
}
});
keypress.register_combo({