Revert d8771b3: Construction stage wrong for all houses

This commit is contained in:
Tyler Trahan 2024-06-26 12:18:32 -04:00
parent 21813fbe8b
commit 06bd47af4f

View File

@ -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;