summaryrefslogtreecommitdiff
path: root/godot/scripts/Server.gd
diff options
context:
space:
mode:
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"])