mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
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:
parent
5426cb3baf
commit
afadae6d50
@ -243,7 +243,7 @@ void AbortGeneratingWorld()
|
||||
*/
|
||||
bool IsGeneratingWorldAborted()
|
||||
{
|
||||
return _gw.abort;
|
||||
return _gw.abort || _exit_game;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user