summaryrefslogtreecommitdiff
path: root/stage/dice_selection/dice_selection.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-04-02 17:31:58 +0200
committerDaniel Weipert <git@mail.dweipert.de>2025-04-02 17:31:58 +0200
commit2ffba3f35af0af2902278d062028a5f83e7fbc53 (patch)
treef108b7176ba63daa7101de43801a39db5ed3f5a0 /stage/dice_selection/dice_selection.gd
parent65bfe9c4c3e09c0d9f5058dd899a82c6a47ec15d (diff)
next commitHEADmain
Diffstat (limited to 'stage/dice_selection/dice_selection.gd')
-rw-r--r--stage/dice_selection/dice_selection.gd7
1 files changed, 5 insertions, 2 deletions
diff --git a/stage/dice_selection/dice_selection.gd b/stage/dice_selection/dice_selection.gd
index 812005a..b56bebe 100644
--- a/stage/dice_selection/dice_selection.gd
+++ b/stage/dice_selection/dice_selection.gd
@@ -29,6 +29,9 @@ func _ready() -> void:
func _input(event: InputEvent) -> void:
if event.is_action_pressed("right_click"):
dice_selected.emit([] as Array[DiceConfiguration])
+
+ if event.is_action_pressed("menu"):
+ %GoButton.grab_focus()
func _on_deck_dice_selected(dice: Control) -> void:
@@ -61,10 +64,10 @@ func _on_dice_focus_entered(dice: Control) -> void:
var faces := [
dice_configuration.front_face,
dice_configuration.back_face,
- dice_configuration.top_face,
- dice_configuration.bottom_face,
dice_configuration.left_face,
dice_configuration.right_face,
+ dice_configuration.top_face,
+ dice_configuration.bottom_face,
]
%Label.text = ""