summaryrefslogtreecommitdiff
path: root/scripts/gui/lobby.js
diff options
context:
space:
mode:
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 = () => {