same as below
This commit is contained in:
parent
2164eade29
commit
cb0ffac056
1674 changed files with 29651 additions and 93 deletions
|
@ -14,6 +14,9 @@ func get_scores():
|
|||
$HTTPRequest.request(API_BASE + "/leaderboard")
|
||||
|
||||
func submit_score():
|
||||
if OS.is_debug_build():
|
||||
text = "Debug Build\nLeaderboard Disabled"
|
||||
return
|
||||
var err = config.load("user://settings.cfg")
|
||||
if not (err == OK and config.has_section_key("config", "username")):
|
||||
text = "Error: No Username!\nSet a username in settings to submit scores"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue