Fixed add player process where name can be set. Added signals for points. Added settings file. Changed some shortcuts.
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user