Fixed add player process where name can be set. Added signals for points. Added settings file. Changed some shortcuts.

This commit is contained in:
2023-09-07 21:55:31 +02:00
parent 5b6169ed6c
commit 050d19039c
7 changed files with 134 additions and 28 deletions

View File

@@ -21,6 +21,7 @@ func _ready():
close_button.pressed.connect(close)
search_bar.grab_focus()
search_bar.text_changed.connect(search)
visibility_changed.connect(func(): search_bar.grab_focus())
func close():
clear()
@@ -47,7 +48,7 @@ func get_list_of_games() -> void:
http_request.request_completed.connect(self._http_request_completed)
# Perform a GET request. The URL below returns JSON as of writing.
var error = http_request.request("https://music.sanplex.tech/music/all/order")
var error = http_request.request(Settings.default_path + "/music/all/order")
if error != OK:
push_error("An error occurred in the HTTP request.")