X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fshow-tournament.pl;fp=html%2Fshow-tournament.pl;h=fa95fb4d67a86d8443602c9e432c2d462ec93199;hp=8e7c9e9ad96bf3d467255552c6d28cd9341cda77;hb=0f7fc7ef67f2e6f97fedce37e9097356bf8f9233;hpb=80fe04629ad2d5edd19a19e708b4c1a47e440c0e diff --git a/html/show-tournament.pl b/html/show-tournament.pl index 8e7c9e9..fa95fb4 100755 --- a/html/show-tournament.pl +++ b/html/show-tournament.pl @@ -50,7 +50,7 @@ for my $score (@$scores) { my $pl = $p->[$#$p]->{'players'}; if ($score->{'nick'} ne $player) { $player = $score->{'nick'}; - push @$pl, { nick => $player, songs => [], total => 0, locked => 1 }; + push @$pl, { player => $score->{'player'}, nick => $player, songs => [], total => 0, locked => 1 }; } push @{$pl->[$#$pl]->{'songs'}}, $score;