Add cheat: town local authority ratings fixed as Outstanding

This commit is contained in:
Jonathan G Rennison
2021-05-05 01:17:54 +01:00
parent a9515456cb
commit 95ca147445
7 changed files with 48 additions and 4 deletions

View File

@@ -717,6 +717,9 @@ static CommandCost BuildStationPart(Station **st, DoCommandFlag flags, bool reus
ZoningTownAuthorityRatingChange();
}
SetBit((*st)->town->have_ratings, _current_company);
if (_extra_cheats.town_rating.value) {
(*st)->town->ratings[_current_company] = RATING_MAXIMUM;
}
}
}
}