Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode

This commit is contained in:
Jonathan G Rennison
2021-12-30 14:06:40 +00:00
committed by Michael Lutz
parent 21f85cac87
commit 4844268d1c

View File

@@ -1918,10 +1918,10 @@ CommandCost CmdBuildRoadStop(DoCommandFlag flags, TileIndex tile, uint8 width, u
MarkTileDirtyByTile(cur_tile);
}
}
if (st != nullptr) {
st->AfterStationTileSetChange(true, is_truck_stop ? STATION_TRUCK: STATION_BUS);
if (st != nullptr) {
st->AfterStationTileSetChange(true, is_truck_stop ? STATION_TRUCK: STATION_BUS);
}
}
return cost;
}