summaryrefslogtreecommitdiff
path: root/scripts/gui/table.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-07-28 01:32:49 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-07-28 01:32:49 -0400
commit81b562233188569b66fc2fb2a7ff952bdae0a4ec (patch)
tree35aa636b6d4f978a5b8c8054b145026d1cfc4b4a /scripts/gui/table.js
parente1af055dc8bcb2676969b9d57b098e6781df2b01 (diff)
Sending user options to the server
Diffstat (limited to 'scripts/gui/table.js')
-rw-r--r--scripts/gui/table.js2
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});
}