diff options
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp index 9f59d72f8..8933015f8 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -70,7 +70,12 @@ Station::Station(TileIndex tile) : */ Station::~Station() { - if (CleaningPool()) return; + if (CleaningPool()) { + for (CargoID c = 0; c < NUM_CARGO; c++) { + this->goods[c].cargo.OnCleanPool(); + } + return; + } while (!this->loading_vehicles.empty()) { this->loading_vehicles.front()->LeaveStation(); |