diff --git a/src/genworld.cpp b/src/genworld.cpp index d2ff24a4a0..49f0a19a9c 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -77,8 +77,6 @@ static void CleanupGeneration() _town_noise_no_update = false; SetMouseCursorBusy(false); - /* Show all vital windows again, because we have hidden them */ - if (_game_mode != GM_MENU) ShowVitalWindows(); SetModalProgress(false); _gw.proc = nullptr; _gw.abortp = nullptr; @@ -196,6 +194,8 @@ static void _GenerateWorld() ResetObjectToPlace(); _cur_company.Trash(); _current_company = _local_company = _gw.lc; + /* Show all vital windows again, because we have hidden them. */ + if (_game_mode != GM_MENU) ShowVitalWindows(); SetGeneratingWorldProgress(GWP_GAME_START, 1); /* Call any callback */