We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cea4130 commit 1239106Copy full SHA for 1239106
scripts/game_end.gd
@@ -6,7 +6,7 @@ func _ready():
6
## show_round_data displays the given round_data data on screen.
7
func show_round_data(data: Dictionary):
8
print(data)
9
- $RoundCounter.text = "Runde %d/%d (%s)" % [data.current_round, data.max_round, data.category]
+ $RoundCounter.text = "Runde %d/%d (%s)" % [data.current_round, data.max_round, data.category.title]
10
11
$Quiz/Question/Label.text = data.question
12
$Quiz/Answers/A/Label.text = data.answers[0]
0 commit comments