don't go into infinite loop when loading a gamestate fails

This commit is contained in:
Sebastian Krzyszkowiak 2018-12-02 00:25:08 +01:00
parent 58cb054a18
commit d5d923daa6
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -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;
}
}