Add cheat: town local authority ratings fixed as Outstanding
This commit is contained in:
@@ -286,6 +286,10 @@ CommandCost CmdCheatSetting(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||
cht = &_extra_cheats.station_rating;
|
||||
break;
|
||||
|
||||
case CHT_TOWN_RATING:
|
||||
cht = &_extra_cheats.town_rating;
|
||||
break;
|
||||
|
||||
default:
|
||||
return CMD_ERROR;
|
||||
}
|
||||
@@ -298,6 +302,10 @@ CommandCost CmdCheatSetting(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||
extern void UpdateAllStationRatings();
|
||||
UpdateAllStationRatings();
|
||||
}
|
||||
if (p1 == CHT_TOWN_RATING) {
|
||||
extern void UpdateAllTownRatings();
|
||||
UpdateAllTownRatings();
|
||||
}
|
||||
}
|
||||
return CommandCost();
|
||||
}
|
||||
|
Reference in New Issue
Block a user