diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-08-04 23:26:25 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-08-04 23:26:25 -0400 |
commit | 32a50674868c48c34d35694009f3f1a59e3cf823 (patch) | |
tree | fb4720003bf7154e7d335a801b830e01b20c4082 /scripts/gui | |
parent | 5b4e72d70522eb61fd8cf2bbd619bb7ed4da2cfb (diff) |
History
Diffstat (limited to 'scripts/gui')
-rw-r--r-- | scripts/gui/lobby.js | 2 |
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 = () => { |