From ad911d6edd0fa76431284ef6283bb07da45d808d Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 11 Aug 2022 00:03:45 -0400 Subject: A few small fixes --- scripts/gui/lobby.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/gui') 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; -- cgit v1.2.3