Skip to content

Commit

Permalink
fixed missing category title in game end scene
Browse files Browse the repository at this point in the history
this fixes commit 2ad7ecc
  • Loading branch information
Kesuaheli committed Sep 13, 2024
1 parent cea4130 commit 1239106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/game_end.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ func _ready():
## show_round_data displays the given round_data data on screen.
func show_round_data(data: Dictionary):
print(data)
$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]

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

0 comments on commit 1239106

Please sign in to comment.