mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-15 19:10:50 +00:00
Clear recent save slot when entering the title screen or starting a mod.
This fixes a bug where loading a normal saved game and then dying in a mod (or vice versa) would cause the game to attempt loading the save game in the wrong context, resulting in a blank error map and many "tile dummy" error messages.
This commit is contained in:
parent
2d7eeb4781
commit
b26eac658a
2 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,8 @@ void Mod::start()
|
|||
|
||||
core->sound->stopMusic();
|
||||
|
||||
enqueueModStart = 1;
|
||||
enqueueModStart = 1;
|
||||
dsq->recentSaveSlot = -1;
|
||||
}
|
||||
|
||||
void Mod::applyStart()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue