diff --git a/src/gamestate.c b/src/gamestate.c index bd8aaeb..3b5c08c 100644 --- a/src/gamestate.c +++ b/src/gamestate.c @@ -178,7 +178,7 @@ SYMBOL_EXPORT void UnloadAllGamestates(struct Game* game) { SYMBOL_EXPORT void PauseAllGamestates(struct Game* game) { struct Gamestate* tmp = game->_priv.gamestates; while (tmp) { - if (tmp->started || !tmp->paused) { + if (tmp->started && !tmp->paused) { PauseGamestate(game, tmp->name); } tmp = tmp->next;