summaryrefslogtreecommitdiff
path: root/scripts/gui/table.js
diff options
context:
space:
mode:
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});
}