summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
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"
)