v12 support

This commit is contained in:
2024-06-07 11:26:46 +02:00
parent a3b6908a17
commit 15e249e41e
74 changed files with 410 additions and 241 deletions

View File

@@ -35,9 +35,9 @@ export class SoSGMDeck extends Dialog {
/* -------------------------------------------- */
saveDeck( ) {
let deck = {
deck: duplicate(this.GMdeck.data.deck),
discard: duplicate(this.GMdeck.data.discard),
cardEdge: duplicate(this.GMdeck.data.cardEdge)
deck: foundry.utils.duplicate(this.GMdeck.data.deck),
discard: foundry.utils.duplicate(this.GMdeck.data.discard),
cardEdge: foundry.utils.duplicate(this.GMdeck.data.cardEdge)
}
game.settings.set("foundryvtt-shadows-over-sol", "gmDeck", deck );
}