fix: keep scoreboard after tournament, change colors

This commit is contained in:
2026-04-15 14:06:03 -04:00
Unverified
parent 8dfb4b9683
commit 25d990e57a

View File

@@ -167,7 +167,9 @@ export default function SpectatePage() {
case "TOURNAMENT_END": case "TOURNAMENT_END":
setTournamentActive(false); setTournamentActive(false);
setTournamentType(null); if (tournamentType !== "RoundRobin") {
setTournamentType(null);
}
addLog("Round ended"); addLog("Round ended");
send(cmd.gameList()); send(cmd.gameList());
send(cmd.playerList()); send(cmd.playerList());
@@ -511,7 +513,7 @@ export default function SpectatePage() {
key={s.player} key={s.player}
className="flex items-center gap-3 px-3 py-2 rounded-lg bg-gray-800" className="flex items-center gap-3 px-3 py-2 rounded-lg bg-gray-800"
> >
<span className="text-sm font-bold w-6 text-gray-300"> <span className="text-sm font-bold w-6 text-gray-500">
{i + 1}. {i + 1}.
</span> </span>
<span className="text-white flex-1 font-medium text-sm"> <span className="text-white flex-1 font-medium text-sm">