From 5100ec45264ff36a2558757e76198b8b25866992 Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 19 Oct 2022 14:13:47 -0400 Subject: server work --- godot/scripts/vehicles/Gunboat.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'godot/scripts/vehicles/Gunboat.gd') diff --git a/godot/scripts/vehicles/Gunboat.gd b/godot/scripts/vehicles/Gunboat.gd index fe5473a..1defce2 100644 --- a/godot/scripts/vehicles/Gunboat.gd +++ b/godot/scripts/vehicles/Gunboat.gd @@ -43,9 +43,9 @@ func _ready(): for sail in $SAILS.get_children(): sail.set_sheet(sail_out) world = get_tree().get_root().find_node("GAMEWORLD", true, false) - if get_tree().get_network_unique_id() == 0: + if get_tree().get_network_unique_id() == 1: print("enabling navigation for server") - $NavigationMeshInstance.set_enabled(true) + #$NavigationMeshInstance.set_enabled(true) func on_no_control(): rpc("reset_controls") -- cgit v1.2.3