From 32a50674868c48c34d35694009f3f1a59e3cf823 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 4 Aug 2022 23:26:25 -0400 Subject: History --- scripts/gui/lobby.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gui') 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 = () => { -- cgit v1.2.3