diff --git a/assets/core/interactables/ship-helm/ship_helm.gd b/assets/core/interactables/ship-helm/ship_helm.gd index 6f3cf98..f9e2235 100644 --- a/assets/core/interactables/ship-helm/ship_helm.gd +++ b/assets/core/interactables/ship-helm/ship_helm.gd @@ -12,5 +12,4 @@ func interact(): elif parent_ship.ship_is_piloted: player_reference.set_is_piloting(false) parent_ship.remove_piloting_player() - parent_ship._sync_piloting_state() - + \ No newline at end of file diff --git a/assets/core/ships/ship_script.gd b/assets/core/ships/ship_script.gd index 9468c83..9708f52 100644 --- a/assets/core/ships/ship_script.gd +++ b/assets/core/ships/ship_script.gd @@ -97,7 +97,6 @@ func set_piloting_player(player: Player): else: print("The ship is no longer piloted.") - func remove_piloting_player(): piloting_player = null