diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-08-11 20:36:18 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-08-11 20:36:18 -0400 |
commit | 6287b2a6afadce021700d6843012b9b9e7ac4954 (patch) | |
tree | 0394f95c4327d4242330c8deeac5282629339add /scripts/gui | |
parent | 5cba3d84eae256cdb4fd79d6e2bed83e21f7a646 (diff) |
Change to lobby instead of menu for rpc
Diffstat (limited to 'scripts/gui')
-rw-r--r-- | scripts/gui/lobby.js | 3 |
1 files changed, 2 insertions, 1 deletions
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") |