Fix generate world NewGRF error window being created without lock held

This commit is contained in:
Jonathan G Rennison
2020-09-12 16:51:38 +01:00
parent c908a3afa8
commit 15fc3f5ba3

View File

@@ -205,9 +205,9 @@ static void _GenerateWorld()
IncreaseGeneratingWorldProgress(GWP_GAME_START);
CleanupGeneration();
lock.unlock();
ShowNewGRFError();
lock.unlock();
if (_network_dedicated) DEBUG(net, 1, "Map generated, starting game");
DEBUG(desync, 1, "new_map: %08x", _settings_game.game_creation.generation_seed);