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)

View file

@ -264,7 +264,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
size_flags_vertical = 3
[node name="TextureRect" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/LoadingIndicator"]
[node name="Label" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/LoadingIndicator"]
material = SubResource( 4 )
margin_left = 101.0
margin_top = 49.0