Commit 5e42d435 authored by Miloslav Číž's avatar Miloslav Číž

Change speedup button

parent ab75d8e9
......@@ -2721,10 +2721,8 @@ void loop()
handleInputs();
uint8_t updates =
(game.mState == STATE_PLAYING_WAVE && arduboy.pressed(B_BUTTON) &&
arduboy.pressed(UP_BUTTON)) ?
GAME_SPEEDUP :
1;
game.mState == STATE_PLAYING_WAVE && arduboy.pressed(UP_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