diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2021-12-30 14:06:40 +0000 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-30 20:39:10 +0100 |
commit | 4844268d1cdae0d0f50ac7d9a9d0bab57e8215da (patch) | |
tree | 812fb7248201ee8f087c312576f6ed7e44ba8919 | |
parent | 21f85cac87c7efa7d470653c2480be6e496dd73e (diff) | |
download | openttd-4844268d1cdae0d0f50ac7d9a9d0bab57e8215da.tar.xz |
Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode
-rw-r--r-- | src/station_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index b0603485d..5a91fa474 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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; } |