From 4844268d1cdae0d0f50ac7d9a9d0bab57e8215da Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 30 Dec 2021 14:06:40 +0000 Subject: Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode --- src/station_cmd.cpp | 6 +++--- 1 file 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; } -- cgit v1.2.3-70-g09d2