fix: a lot of network sync fixes
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user