diff --git a/src/station.cpp b/src/station.cpp index fab0395b70..16723fc685 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -69,6 +69,10 @@ Station::~Station() if (CleaningPool()) return; + while (!loading_vehicles.empty()) { + loading_vehicles.front()->LeaveStation(); + } + MarkDirty(); RebuildStationLists(); InvalidateWindowClasses(WC_STATION_LIST);