- Ensure g_nextskill is re-initialised everytime a save is loaded.

* Fixes #582.
This commit is contained in:
Mitch Richters 2021-11-18 20:06:33 +11:00
parent aac02d52db
commit 719724da53

View file

@ -157,6 +157,7 @@ bool ReadSavegame(const char* name)
// Load the savegame.
loadMapBackup(currentLevel->fileName);
SerializeSession(arc);
g_nextskill = gi->GetCurrentSkill();
arc.Close();
info->Unlock();
delete savereader;