scoreboard screen slight refactor

This commit is contained in:
Haze Weathers 2023-10-13 16:21:29 -04:00
parent 644748463c
commit f7581231e8
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ func reload_scores() -> void:
skip = 0,
tag = _scoreboard_tag,
}), "completed")
if "success" in response and response.success and response.result.data.success:
if Ngio.has_result(response) and response.result.data.success:
var retrieved_scores = response.result.data.scores
for i in scores.get_child_count():
var score_entry = scores.get_child(i)