diff --git a/Main_menu.gd b/Main_menu.gd index eb1206d..d2e8d67 100644 --- a/Main_menu.gd +++ b/Main_menu.gd @@ -36,7 +36,7 @@ func check_for_update(): # Connect the request_completed signal to self (this script)'s _versions_request_completed function versions_request.connect("request_completed", self, "_versions_request_completed") # Send an HTTP request to the releases page of UltraFlare on code.retroedge.tech - var error = versions_request.request("https://code.retroedge.tech/api/v1/repos/UltraFlare/UltraFlare/releases?draft=false&pre-release=true&limit=1") + var _error = versions_request.request("https://code.retroedge.tech/api/v1/repos/UltraFlare/UltraFlare/releases?draft=false&pre-release=true&limit=1") # SIGNALS @@ -72,7 +72,7 @@ func _download_request_completed(_result, _response_code, _headers, body): # IF the os is "linux" based, use chmod to change the file to executable if os_name == "linux": - var error = OS.execute("chmod", ["+x", OS.get_config_dir()+"/UltraFlare/current/UltraFlare-"+os_name+"-x86_64"]) + var _error = OS.execute("chmod", ["+x", OS.get_config_dir()+"/UltraFlare/current/UltraFlare-"+os_name+"-x86_64"]) # Enable (Un-disable?) the Play_button $Panel/Play_button.disabled = false