From bdebfb3d7e4bafe48f7e54a0e9fcf6e6b6b93a6c Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sat, 12 Nov 2022 13:06:13 -0500 Subject: Fix ID swapping --- scripts/gui/table.js | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3