diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-11-12 13:06:13 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-11-12 13:06:13 -0500 |
commit | bdebfb3d7e4bafe48f7e54a0e9fcf6e6b6b93a6c (patch) | |
tree | 19f0fb1cf0c46096a53ddb50b5ff1282469d94d9 /scripts | |
parent | 9077d7a40f619f42ee54a7abc9a5fb891b013baf (diff) |
Fix ID swapping
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gui/table.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gui/table.js b/scripts/gui/table.js index f19cfca..ea7254d 100644 --- a/scripts/gui/table.js +++ b/scripts/gui/table.js @@ -147,6 +147,7 @@ class Table{ } this.cards[data.id] = this.cards[data.card]; delete this.cards[data.card]; + this.cards[data.id].id = data.id; this.cards[data.id].generateElements(data.data); } |