diff options
Diffstat (limited to 'scripts/gui')
-rw-r--r-- | scripts/gui/lobby.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gui/lobby.js b/scripts/gui/lobby.js index a2771b7..c760f50 100644 --- a/scripts/gui/lobby.js +++ b/scripts/gui/lobby.js @@ -159,6 +159,9 @@ class Lobby { } for (let i of data.games) { + if(typeof i != "object") + continue; + if (this.games[i.id] == null) { let g = new Game(i, this.e.games); this.games[i.id] = g; |