- Unload behavior with the map, not outside.

This commit is contained in:
Christoph Oelckers 2019-01-31 17:43:12 +01:00
commit 1dcdfec733
2 changed files with 1 additions and 1 deletions

View file

@ -335,6 +335,7 @@ void FLevelLocals::ClearLevelData()
memset(playerstarts, 0, sizeof(playerstarts));
Scrolls.Clear();
if (automap) automap->Destroy();
Behaviors.UnloadModules();
}
//==========================================================================