Refine context actions and preserve fleet landings

This commit is contained in:
Loïc Wisniewski 2026-08-14 23:15:12 +02:00
commit 663648d949
20 changed files with 197 additions and 103 deletions

View file

@ -96,10 +96,9 @@ func _process(delta: float) -> bool:
print("TEST_CRAFTER_FEEDBACK: FAIL (fleet parked on the crafter never registered)")
quit(1)
return true
# A crafter now has both Craft and Transfer, so the shared action
# button unfolds those choices before the craft action is selected.
# Transfer has its own shortcut beside Build, leaving Craft as the
# single contextual action that fires directly.
_tap(controller.action_button)
_tap(controller.building_action_button)
if not controller.craft_menu.visible:
print("TEST_CRAFTER_FEEDBACK: FAIL (the action button did not open the crafter panel)")
quit(1)