1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

no more keys when paused

This commit is contained in:
Zeno Rogue 2020-10-26 17:48:03 +01:00
parent 452cad82cc
commit e7ba5e1875

View File

@ -1292,7 +1292,7 @@ void run() {
if(explore && sym == SDLK_BACKSPACE) if(explore && sym == SDLK_BACKSPACE)
explore = false; explore = false;
if(state == tsFalling) { if(state == tsFalling && !paused) {
multi::handleInput(0); multi::handleInput(0);
bool consumed = false; bool consumed = false;
for(int i=0; i<bmLast; i++) for(int i=0; i<bmLast; i++)