|
@@ -37,6 +37,7 @@ func drive_with(commander: LocalInput) -> void:
|
|
func get_out() -> void:
|
|
func get_out() -> void:
|
|
_current_commander.dir_changed.disconnect(_on_dir_changed)
|
|
_current_commander.dir_changed.disconnect(_on_dir_changed)
|
|
_current_commander.main_action.disconnect(_on_main_action)
|
|
_current_commander.main_action.disconnect(_on_main_action)
|
|
|
|
+ _current_commander = null
|
|
|
|
|
|
|
|
|
|
func _physics_process(delta: float) -> void:
|
|
func _physics_process(delta: float) -> void:
|