Fixed bug if in a menu when the game ends
This commit is contained in:
parent
63e5c13bfc
commit
ad2e655114
1 changed files with 6 additions and 0 deletions
|
@ -797,6 +797,12 @@ global void GameMainLoop(void)
|
|||
}
|
||||
}
|
||||
|
||||
if( Callbacks==&MenuCallbacks ) {
|
||||
while( CurrentMenu ) {
|
||||
EndMenu();
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Game over
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue