Fix: abort world generation on exiting the game as soon as possible

This prevents the window from "freezing" when you close it during
world generation, as it first would continue the action.
This commit is contained in:
Patric Stout 2021-03-09 17:04:26 +01:00 committed by Patric Stout
parent 5426cb3baf
commit afadae6d50

View File

@ -243,7 +243,7 @@ void AbortGeneratingWorld()
*/
bool IsGeneratingWorldAborted()
{
return _gw.abort;
return _gw.abort || _exit_game;
}
/**