diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-17 20:40:58 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-17 20:40:58 -0400 |
commit | 4b408bf19a1ad8ab73626c333245157e71158b2e (patch) | |
tree | 64da2d704813c7024fe592c45dc06383e593620e /scripts/gui/table.js | |
parent | f6735c5864593c4ffeace9f1877aee3d64326549 (diff) |
Fix table getting cards
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 964f750..232382d 100644 --- a/scripts/gui/table.js +++ b/scripts/gui/table.js @@ -149,7 +149,7 @@ class Table{ if(event.drag.length < 1) return; - var c = this.checkCard(event.drag[0].e); + var c = event.drag[0].e.card; var d = this.checkDeck(event.x, event.y); if(c !== null) |