return name to players

This commit is contained in:
Teatov 2025-02-13 17:43:30 +10:00
parent 25196cc796
commit be821a2645
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,6 @@ properties/2/replication_mode = 1
[node name="Player" type="CharacterBody3D"]
collision_layer = 2
script = ExtResource("1_82m0t")
_respawn_height = null
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)

View File

@ -24,6 +24,8 @@ func _enter_tree() -> void:
func _ready() -> void:
_name_label.text = str(name)
print(str(name), Networker.players)
if not is_multiplayer_authority():
return