- properly uninit the menus.

This commit is contained in:
Christoph Oelckers 2020-10-10 15:16:28 +02:00
parent 91e23b3ab5
commit c478d1add2

View file

@ -535,7 +535,7 @@ int GameMain()
r = -1; r = -1;
} }
DeleteScreenJob(); DeleteScreenJob();
M_ClearMenus(); DeinitMenus();
if (gi) if (gi)
{ {
gi->FreeGameData(); // Must be done before taking down any subsystems. gi->FreeGameData(); // Must be done before taking down any subsystems.