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.
pull/238/head
Patric Stout 3 years ago committed by Patric Stout
parent 5426cb3baf
commit afadae6d50

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

Loading…
Cancel
Save