Esc and the main menu leave PLACE and DEMOLISH modes #139
Labels
No labels
assets
bug
duplicate
enhancement
help wanted
invalid
question
testing
ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
liamjd/UntitledColonyBuilder#139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of milestone #6 (Selection and inspection).
Esc currently always toggles the main menu (
common/game.gd:75, onui_cancel), whatever the interaction mode is. Nothing clearsGameState.interaction_modewhen the menu opens, so a player in PLACE or DEMOLISH who presses Esc gets the menu on top of an armed ghost, and the mode is still armed when the menu closes.The rule for leaving PLACE or DEMOLISH (decided 2026-09-30) is: do the action, right-click, press Esc, or open the main menu. Clicking another UI element, such as the #78 lists, does not leave the mode.
Acceptance criteria
interaction_modeto NONE and does nothing else. The menu does not open.interaction_modeto NONE, so the mode never survives underneath the menu.options_panel.gd,keybindings_panel.gdalso handleui_cancel).Decisions
Out of scope