Fix v12 warnings

This commit is contained in:
2024-06-06 22:46:40 +02:00
parent 2c5ff15830
commit 8a5c62fafd
14 changed files with 96 additions and 107 deletions

View File

@ -13,7 +13,7 @@ let choices = await ItemDialog.create(ItemDialog.objectToArray(symptoms), roll.t
if (choices.length)
{
let symptomEffects = duplicate(game.wfrp4e.config.symptomEffects)
let symptomEffects = foundry.utils.duplicate(game.wfrp4e.config.symptomEffects)
let added = []
for(let choice of choices)
{