diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-28 01:32:49 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-28 01:32:49 -0400 |
commit | 81b562233188569b66fc2fb2a7ff952bdae0a4ec (patch) | |
tree | 35aa636b6d4f978a5b8c8054b145026d1cfc4b4a /scripts/gui/table.js | |
parent | e1af055dc8bcb2676969b9d57b098e6781df2b01 (diff) |
Sending user options to the server
Diffstat (limited to 'scripts/gui/table.js')
-rw-r--r-- | scripts/gui/table.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gui/table.js b/scripts/gui/table.js index e4d6770..87120e3 100644 --- a/scripts/gui/table.js +++ b/scripts/gui/table.js @@ -150,7 +150,7 @@ class Table{ // Function to query the server about a player's move checkMove(cardID, deckID, index = -1) { - this.socket.send("game", {type: "move", card: cardID, deck: deckID, pos: index}); + this.socket.send("move", {card: cardID, deck: deckID, index: index}); } |