return name to players
This commit is contained in:
parent
25196cc796
commit
be821a2645
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user