diff --git a/game/objects/informative/abstract_action_tip.gd b/game/objects/informative/abstract_action_tip.gd index 199a712..8e5e0f4 100644 --- a/game/objects/informative/abstract_action_tip.gd +++ b/game/objects/informative/abstract_action_tip.gd @@ -1,3 +1,4 @@ +@tool class_name AbstractActionTip extends Node2D @@ -7,8 +8,11 @@ extends Node2D func _ready() -> void: - _updated_by_input_type(InputManager.get_type()) - InputManager.type_changed.connect(_updated_by_input_type) + if Engine.is_editor_hint(): + _updated_by_input_type(InputManager.Type.Keyboard) + else: + _updated_by_input_type(InputManager.get_type()) + InputManager.type_changed.connect(_updated_by_input_type) func _updated_by_input_type(type: InputManager.Type) -> void: