summaryrefslogtreecommitdiff
path: root/scripts/gui/lobby.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-08-11 20:36:18 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-08-11 20:36:18 -0400
commit6287b2a6afadce021700d6843012b9b9e7ac4954 (patch)
tree0394f95c4327d4242330c8deeac5282629339add /scripts/gui/lobby.js
parent5cba3d84eae256cdb4fd79d6e2bed83e21f7a646 (diff)
Change to lobby instead of menu for rpc
Diffstat (limited to 'scripts/gui/lobby.js')
-rw-r--r--scripts/gui/lobby.js3
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")