This commit is contained in:
Glenn Maynard
2005-07-13 00:28:37 +00:00
parent cf22782ab9
commit f384783335
+3 -2
View File
@@ -1166,6 +1166,9 @@ int main(int argc, char* argv[])
/* Run the main loop. */
GameLoop();
/* If we ended mid-game, finish up. */
GAMESTATE->EndGame();
PREFSMAN->SaveGlobalPrefsToDisk();
SaveGamePrefsToDisk();
@@ -1552,8 +1555,6 @@ static void GameLoop()
usleep( 1000 ); // give some time to other processes and threads
#endif
}
GAMESTATE->EndGame();
}
/*