diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 0e3962b4ca..0e851e142c 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2159,10 +2159,10 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin ZoningMarkDirtyStationCoverageArea(st); NotifyRoadLayoutChanged(true); UpdateRoadCachedOneWayStatesAroundTile(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; }