Commit 19316d14 authored by Miloslav Číž's avatar Miloslav Číž

Change speedup buttons

parent ea110043
......@@ -2721,8 +2721,8 @@ void loop()
handleInputs();
uint8_t updates =
game.mState == STATE_PLAYING_WAVE && arduboy.pressed(UP_BUTTON) ?
GAME_SPEEDUP : 1;
game.mState == STATE_PLAYING_WAVE && arduboy.pressed(A_BUTTON) &&
arduboy.pressed(B_BUTTON)? GAME_SPEEDUP : 1;
for (uint8_t i = 0; i < updates; ++i)
game.update();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment