summaryrefslogtreecommitdiff
path: root/scripts/gui/lobby.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-08-04 23:26:25 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-08-04 23:26:25 -0400
commit32a50674868c48c34d35694009f3f1a59e3cf823 (patch)
treefb4720003bf7154e7d335a801b830e01b20c4082 /scripts/gui/lobby.js
parent5b4e72d70522eb61fd8cf2bbd619bb7ed4da2cfb (diff)
History
Diffstat (limited to 'scripts/gui/lobby.js')
-rw-r--r--scripts/gui/lobby.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gui/lobby.js b/scripts/gui/lobby.js
index 34fa9a7..a2771b7 100644
--- a/scripts/gui/lobby.js
+++ b/scripts/gui/lobby.js
@@ -87,7 +87,7 @@ class Game {
let join = document.createElement("button");
join.textContent = "Join";
- join.addEventListener("click", game.joinGame.bind(game, options.id));
+ join.addEventListener("click", game.joinGameByID.bind(game, options.id));
joindiv.appendChild(join);
this.getPass = () => {