Change: Don't use house construction states in Scenario Editor (#12730)

This commit is contained in:
Tyler Trahan 2024-06-15 17:11:00 -04:00 committed by GitHub
parent 4cbaac6dac
commit d8771b3f68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 || _game_mode == GM_EDITOR) {
if (_generating_world) {
uint32_t construction_random = Random();
construction_stage = TOWN_HOUSE_COMPLETED;