Refactor table + player data, add state

This commit is contained in:
Christoph Hagen
2021-12-20 20:18:19 +01:00
parent 49787db1aa
commit 3a95e1c990
18 changed files with 261 additions and 169 deletions

View File

@ -280,7 +280,7 @@ function setInfoForPlayer(player, position, game) {
state.push(double)
}
if (game != null) {
if (game != null && player.hasOwnProperty("points")) {
state.push(player.points.toString() + " Punkte")
}