1
0
Fork 0

Fix #10280, 59645c6: Ignore double-click for unavailable town actions

pull/10628/head
glx22 2023-02-10 05:05:16 +01:00 committed by rubidium42
parent 249141858c
commit 0fb6b3ca07
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ public:
}
/* When double-clicking, continue */
if (click_count == 1 || y < 0) break;
if (click_count == 1 || y < 0 || !HasBit(this->available_actions, y)) break;
FALLTHROUGH;
}