mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
gamestate: fix incorrect guard condition in PauseAllGamestates
This commit is contained in:
parent
c74fbc2be8
commit
3dd72ec389
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue