Erase queued command also when depot direction/airport type/station type changes.
This commit is contained in:
@@ -1369,6 +1369,8 @@ public:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
EraseQueuedTouchCommand();
|
||||
}
|
||||
|
||||
virtual void OnTick()
|
||||
@@ -1723,6 +1725,7 @@ struct BuildRailDepotWindow : public PickerWindowBase {
|
||||
_build_depot_direction = (DiagDirection)(widget - WID_BRAD_DEPOT_NE);
|
||||
this->LowerWidget(_build_depot_direction + WID_BRAD_DEPOT_NE);
|
||||
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
|
||||
EraseQueuedTouchCommand();
|
||||
this->SetDirty();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user