From b75cc72c4e10bd652330b6d2bd99f3fd9129a3b3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 7 Jan 2025 15:48:43 +0100 Subject: rsw with gnd step 1 --- ui/login.gd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui') 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" ) -- cgit v1.2.3