Skip to content

Commit 1239106

Browse files
committed
fixed missing category title in game end scene
this fixes commit 2ad7ecc
1 parent cea4130 commit 1239106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/game_end.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ func _ready():
66
## show_round_data displays the given round_data data on screen.
77
func show_round_data(data: Dictionary):
88
print(data)
9-
$RoundCounter.text = "Runde %d/%d (%s)" % [data.current_round, data.max_round, data.category]
9+
$RoundCounter.text = "Runde %d/%d (%s)" % [data.current_round, data.max_round, data.category.title]
1010

1111
$Quiz/Question/Label.text = data.question
1212
$Quiz/Answers/A/Label.text = data.answers[0]

0 commit comments

Comments
 (0)