Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode

pull/353/head
Jonathan G Rennison 2 years ago committed by Michael Lutz
parent 21f85cac87
commit 4844268d1c

@ -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;
}

Loading…
Cancel
Save