summaryrefslogtreecommitdiff
path: root/scripts/gui
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gui')
-rw-r--r--scripts/gui/table.js1
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);
}