1
0
Fork 0

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/8837/head
Patric Stout 2021-03-09 17:04:26 +01:00 committed by Patric Stout
parent 5426cb3baf
commit afadae6d50
1 changed files with 1 additions and 1 deletions

View File

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