From 6287b2a6afadce021700d6843012b9b9e7ac4954 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 11 Aug 2022 20:36:18 -0400 Subject: Change to lobby instead of menu for rpc --- scripts/gui/lobby.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/gui') diff --git a/scripts/gui/lobby.js b/scripts/gui/lobby.js index a303da8..64af615 100644 --- a/scripts/gui/lobby.js +++ b/scripts/gui/lobby.js @@ -155,8 +155,9 @@ class Lobby { // { data.games[n].max } max players in room gameList (data) { while (this.e.games.firstChild != null) { - this.e.games.remove(this.elements.games.firstChild) + this.e.games.removeChild(this.e.games.firstChild) } + console.log("eheh") for (let i of data.games) { if(typeof i != "object") -- cgit v1.2.3