summaryrefslogtreecommitdiff
path: root/godot/scripts/Server.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
commit7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (patch)
treed52acaa4e89b0f8375326ea1aefd0105bb91cfc7 /godot/scripts/Server.gd
parent62039380a67b6da396d1c8d745d2e2625ba988fc (diff)
weapons, viewmodels, some performance fixes
Diffstat (limited to 'godot/scripts/Server.gd')
-rw-r--r--godot/scripts/Server.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/godot/scripts/Server.gd b/godot/scripts/Server.gd
index d26af94..b4b0a28 100644
--- a/godot/scripts/Server.gd
+++ b/godot/scripts/Server.gd
@@ -104,7 +104,7 @@ func _client_request_change_character(arguments):
dest.rpc("set_net_owner", arguments["id"])
if arguments["current_char_name"] != "NULL":
var old = world.get_node("PLAYERS/"+arguments["current_char_name"])
- old.rpc("set_net_owner", 1)
+ old.rpc("set_net_owner", int(1))
func _client_request_control_vehicle(arguments):
var dest_machine = world.get_node(arguments["machine_path"])