Markers: a second click or tap removes them; right click with the flag tool takes the flag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 12:19:37 +01:00
1 parent c3f7939627
commit 0cbcd1c8d1
2 files changed
+34 -2

No files matched your search

+1 -1
View File
@@ -1410,7 +1410,7 @@ async fn main() {
if !inp.rdrag && !over_ui && app.game.state == 0 {
if inp.ldown.is_some() {
inp.ldown = None;
} else if app.game.hand.is_empty() && matches!(ui.tool, Tool::Order(_)) {
} else if app.game.hand.is_empty() && matches!(ui.tool, Tool::Order(_) | Tool::Flag) {
app.game.queue(Act::Unmark { x: wx, y: wy });
} else {
app.game.queue(Act::Drop { x: wx, y: wy });