Address review feedback: Implement Godot dedicated server scene + player spawning #51
+1
-1
@@ -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_rpc_sender_id(), "_disconnect", reason)
|
||||
rpc_id(get_remote_sender_id(), "_disconnect", reason)
|
||||
|
||||
|
||||
@rpc("call_remote", "reliable")
|
||||
|
||||
Reference in New Issue
Block a user