diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 3cf000229..df23a0146 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -871,12 +871,16 @@ void Game::handleActive(const SDL_Event &event) } else { // window minimisation +#ifdef ANDROID + Client::setState(STATE_EXIT); +#else Client::setIsMinimized(true); if (player_node && !player_node->getAway()) { fpsLimit = config.getIntValue("altfpslimit"); player_node->setHalfAway(true); } +#endif } if (player_node) player_node->updateStatus(); |