fix: drop type hint on @onready _machine so runtime set_script path accepts MovementStateMachine
This commit is contained in:
@@ -27,7 +27,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
|||||||
_machine.input_dir = input_v
|
_machine.input_dir = input_v
|
||||||
|
|
||||||
|
|
||||||
@onready var _machine: Node = get_node("MovementStateMachine")
|
@onready var _machine = get_node("MovementStateMachine")
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
|||||||
Reference in New Issue
Block a user