mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
Fix #8349: Close depot vehicle list windows when closing the depot window
This commit is contained in:
parent
88959f5595
commit
3af407340e
@ -294,6 +294,7 @@ struct DepotWindow : Window {
|
||||
~DepotWindow()
|
||||
{
|
||||
DeleteWindowById(WC_BUILD_VEHICLE, this->window_number);
|
||||
DeleteWindowById(GetWindowClassForVehicleType(this->type), VehicleListIdentifier(VL_DEPOT_LIST, this->type, this->owner, GetDepotIndex(this->window_number)).Pack(), false);
|
||||
OrderBackup::Reset(this->window_number);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user