KeyManager: Block remaps on authenticator game state

Similar to 01bdbe5aab, we do not want to
block input when the user is inputting their authenticator code at the
login screen.
This commit is contained in:
Joe Zeffiro
2020-07-01 06:14:56 -07:00
committed by Jordan Atwood
parent 53c8593929
commit a3bd5e50fa

View File

@@ -145,6 +145,6 @@ public class KeyManager
return true;
}
return client.getGameState() != GameState.LOGIN_SCREEN;
return client.getGameState() != GameState.LOGIN_SCREEN && client.getGameState() != GameState.LOGIN_SCREEN_AUTHENTICATOR;
}
}