fix: a lot of network sync fixes

This commit is contained in:
DottsGit
2026-06-06 20:45:10 -04:00
parent dbbfbef4a4
commit 07a15fe998
8 changed files with 179 additions and 91 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ func _respawn() -> void:
if spawner:
local_player = spawner.get_node_or_null(str(pid))
if local_player and local_player.has_method("take_damage"):
local_player.take_damage(9999, Vector3.ZERO)
if local_player and local_player.has_method("rpc_request_respawn"):
local_player.rpc_request_respawn.rpc_id(1)
func _build_ui() -> void:
bg = ColorRect.new()