diff options
Diffstat (limited to 'src/depot.cpp')
-rw-r--r-- | src/depot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/depot.cpp b/src/depot.cpp index 63c6629e1..2f6852bcc 100644 --- a/src/depot.cpp +++ b/src/depot.cpp @@ -37,6 +37,8 @@ Depot *GetDepotByTile(TileIndex tile) */ Depot::~Depot() { + if (CleaningPool()) return; + /* Clear the depot from all order-lists */ RemoveOrderFromAllVehicles(OT_GOTO_DEPOT, this->index); |