mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
don't go into infinite loop when loading a gamestate fails
This commit is contained in:
parent
58cb054a18
commit
d5d923daa6
1 changed files with 0 additions and 1 deletions
|
@ -235,7 +235,6 @@ static inline bool MainloopTick(struct Game* game) {
|
|||
if (!OpenGamestate(game, tmp) || !LinkGamestate(game, tmp)) {
|
||||
tmp->pending_load = false;
|
||||
tmp->pending_start = false;
|
||||
tmp->next = tmp;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue