Changeset - r25032:fd724de93d1a
[Not reviewed]
master
0 1 0
Patric Stout - 3 years ago 2021-03-09 16:04:26
truebrain@openttd.org
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/genworld.cpp
Show inline comments
 
@@ -243,7 +243,7 @@ void AbortGeneratingWorld()
 
 */
 
bool IsGeneratingWorldAborted()
 
{
 
	return _gw.abort;
 
	return _gw.abort || _exit_game;
 
}
 

	
 
/**
0 comments (0 inline, 0 general)