summaryrefslogtreecommitdiff
path: root/godot/scripts/vehicles/Gunboat.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-10-19 14:13:47 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-10-19 14:13:47 -0400
commit5100ec45264ff36a2558757e76198b8b25866992 (patch)
treecd1fd239fe0380028c1d77e456a49ecf186830d6 /godot/scripts/vehicles/Gunboat.gd
parente826b74a104e72ec398aa55bd5dceb13b5a0dae1 (diff)
server work
Diffstat (limited to 'godot/scripts/vehicles/Gunboat.gd')
-rw-r--r--godot/scripts/vehicles/Gunboat.gd4
1 files changed, 2 insertions, 2 deletions
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")