mirror of https://github.com/OpenTTD/OpenTTD
Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode
parent
b185c80cb8
commit
e0ccc58ed1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue