minor change
parent
f6bd6e9f2f
commit
a45387d37a
|
|
@ -320,7 +320,7 @@ function handleGameEnd({ winner }) {
|
||||||
|
|
||||||
nameEl.textContent = winner;
|
nameEl.textContent = winner;
|
||||||
const pts = lastScores && typeof lastScores[winner] !== "undefined" ? lastScores[winner] : null;
|
const pts = lastScores && typeof lastScores[winner] !== "undefined" ? lastScores[winner] : null;
|
||||||
ptsEl.textContent = pts != null ? `${winner} endet mit ${pts} Punkten.` : "";
|
ptsEl.textContent = pts != null ? `${winner} gewinnt mit ${pts} Punkten.` : "";
|
||||||
|
|
||||||
// Leaderboard im Overlay rendern (aus Cache lastScores)
|
// Leaderboard im Overlay rendern (aus Cache lastScores)
|
||||||
const boardEl = document.getElementById("winBoard");
|
const boardEl = document.getElementById("winBoard");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue