diff options
Diffstat (limited to 'UI/Lobby.gd')
-rw-r--r-- | UI/Lobby.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UI/Lobby.gd b/UI/Lobby.gd index 68d843c..ba76ecc 100644 --- a/UI/Lobby.gd +++ b/UI/Lobby.gd @@ -24,12 +24,12 @@ func get_port(): return port func _on_host_pressed() -> void: - Client.player.name = %Name.text + Client.player.username = %Name.text Network.host_game(get_port()) get_tree().change_scene_to_file("res://Stages/world.tscn") func _on_join_pressed() -> void: - Client.player.name = %Name.text + Client.player.username = %Name.text Network.join_game(get_ip(), get_port()) get_tree().change_scene_to_file("res://Stages/world.tscn") |