WIP checkpoint: Implement Godot dedicated server scene + player spawning

This commit is contained in:
2026-08-17 18:26:42 +00:00
parent ee6513b8ad
commit 6018396be2
+1 -1
View File
@@ -156,7 +156,7 @@ func _on_peer_disconnected(peer_id: int) -> void:
@rpc("any_peer", "call_remote", "reliable")
func _kick(reason: String) -> void:
print("[Server] Kicking caller: %s" % reason)
rpc_id(get_remote_sender_id(), "_disconnect", reason)
rpc_id(multiplayer.get_remote_sender_id(), "_disconnect", reason)
@rpc("call_remote", "reliable")