Erase queued commands when another command is about to be queued.
This commit is contained in:
@@ -103,6 +103,7 @@ struct BuildAirToolbarWindow : Window {
|
||||
|
||||
virtual void OnPlaceObject(Point pt, TileIndex tile)
|
||||
{
|
||||
EraseQueuedTouchCommand();
|
||||
switch (this->last_user_action) {
|
||||
case WID_AT_AIRPORT: {
|
||||
VpStartPlaceSizing(tile, VPM_SINGLE_TILE, DDSP_BUILD_STATION);
|
||||
|
||||
Reference in New Issue
Block a user