Fixed bug if in a menu when the game ends

This commit is contained in:
jsalmon3 2003-02-16 02:45:36 +00:00
parent 63e5c13bfc
commit ad2e655114

View file

@ -797,6 +797,12 @@ global void GameMainLoop(void)
}
}
if( Callbacks==&MenuCallbacks ) {
while( CurrentMenu ) {
EndMenu();
}
}
//
// Game over
//