summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-01-07 15:48:43 +0100
committerDaniel Weipert <git@mail.dweipert.de>2025-01-07 15:48:43 +0100
commitb75cc72c4e10bd652330b6d2bd99f3fd9129a3b3 (patch)
tree489cde2aa688273d232d66cd5d9e4251f2cea8c5 /ui
parent35b0f811f23f029110373798b19d9d0895d907f0 (diff)
rsw with gnd step 1HEADmain
Diffstat (limited to 'ui')
-rw-r--r--ui/login.gd5
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"
)