Changeset - r27589:b9a0c90a7ad8
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 12 months ago 2023-06-16 18:41:26
j.g.rennison@gmail.com
Fix: Crash when failing to load a game into a dedicated server at startup (#11021)

Using the -g switch
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -1508,12 +1508,13 @@ void GameLoop()
 
	}
 

	
 
	/* switch game mode? */
 
	if (_switch_mode != SM_NONE && !HasModalProgress()) {
 
		SwitchToMode(_switch_mode);
 
		_switch_mode = SM_NONE;
 
		if (_exit_game) return;
 
	}
 

	
 
	IncreaseSpriteLRU();
 

	
 
	/* Check for UDP stuff */
 
	if (_network_available) NetworkBackgroundLoop();
0 comments (0 inline, 0 general)