diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-07 15:48:43 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-07 15:48:43 +0100 |
commit | b75cc72c4e10bd652330b6d2bd99f3fd9129a3b3 (patch) | |
tree | 489cde2aa688273d232d66cd5d9e4251f2cea8c5 /ui | |
parent | 35b0f811f23f029110373798b19d9d0895d907f0 (diff) |
Diffstat (limited to 'ui')
-rw-r--r-- | ui/login.gd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/login.gd b/ui/login.gd index fb3c80b..d58d6e8 100644 --- a/ui/login.gd +++ b/ui/login.gd @@ -27,6 +27,8 @@ func switch_screen(screen: Node): func _on_login_pressed() -> void: $ButtonClickSound.play() + + Network.login_server = LoginServer.new("127.0.0.1") Network.login_server.login(username.text, password.text) account_information = await Network.login_server.logged_in @@ -135,7 +137,8 @@ func _on_character_selected_pressed(slot_idx: int): var _logged_in = await Network.map_server.logged_in get_tree().change_scene_to_file( - "res://client_data/data/%s.tscn" % current_character_information.get_map_name() + #"res://client_data/data/%s.tscn" % current_character_information.get_map_name() + "res://extractor/test/pay_dun00.tscn" ) |