fix: Fixes smaller things (#465)

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
Dennis Ploeger
2021-11-26 08:06:20 +01:00
committed by GitHub
parent 65b3a595f5
commit 8c9ee734fd
5 changed files with 15 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ func _ready():
but.toggle_mode = true
func _on_action_selected(action: String):
if escoria.inputs_manager.input_mode != escoria.inputs_manager.INPUT_ALL:
unselect_actions()
return
escoria.action_manager.set_current_action(action)
for but in get_children():