diff --git a/module/other/inline.js b/module/other/inline.js index be683df..40cb560 100644 --- a/module/other/inline.js +++ b/module/other/inline.js @@ -5,8 +5,8 @@ export async function handleInlineActions(btnWithAction, messageId) { if (!actor) return; if (action === 'rollback-skill-failure-state') { - const rollbackFlag =message.getFlag("deltagreen", "rollbacks"); - await actor.update(rollbackFlag); + const rollbackFlag = message.getFlag("deltagreen", "rollbacks"); + await actor.update(foundry.utils.deepClone(rollbackFlag)); toggleAllSkillFailures(rollbackFlag)