From 06bd47af4f40a023cdbaaee941b8760b2f715627 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Wed, 26 Jun 2024 12:18:32 -0400 Subject: [PATCH] Revert d8771b3: Construction stage wrong for all houses --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 57e4aedb92..61ac6c8239 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2687,7 +2687,7 @@ static void BuildTownHouse(Town *t, TileIndex tile, const HouseSpec *hs, HouseID uint8_t construction_counter = 0; uint8_t construction_stage = 0; - if (_generating_world) { + if (_generating_world || _game_mode == GM_EDITOR) { uint32_t construction_random = Random(); construction_stage = TOWN_HOUSE_COMPLETED;