1
0
Fork 0

Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode

pull/9843/head
Jonathan G Rennison 2021-12-30 14:06:40 +00:00 committed by Patric Stout
parent b185c80cb8
commit e0ccc58ed1
1 changed files with 3 additions and 3 deletions

View File

@ -1949,10 +1949,10 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
MarkTileDirtyByTile(cur_tile);
}
}
if (st != nullptr) {
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
if (st != nullptr) {
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
}
}
return cost;
}