From fc4b49bbe4c1ef0f385de22b6ab9baae0d53d32a Mon Sep 17 00:00:00 2001 From: Jeff Hitchcock Date: Sat, 17 Feb 2024 09:05:05 -0800 Subject: [PATCH] [#3072] Fix scale correction control being stuck at 1 --- module/applications/token-config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/applications/token-config.mjs b/module/applications/token-config.mjs index 61fd8bd500..c13a5bfe5f 100644 --- a/module/applications/token-config.mjs +++ b/module/applications/token-config.mjs @@ -63,7 +63,7 @@ export default class TokenConfig5e extends TokenConfig { let ringTab = document.createElement("div"); const flags = this.document.getFlag("dnd5e", "tokenRing") ?? {}; ringTab.innerHTML = await renderTemplate(this.constructor.dynamicRingTemplate, { - flags: foundry.utils.mergeObject(flags, { scaleCorrection: 1 }, { inplace: false }), + flags: foundry.utils.mergeObject({ scaleCorrection: 1 }, flags, { inplace: false }), effects: Object.entries(CONFIG.DND5E.tokenRings.effects).reduce((obj, [key, label]) => { const mask = CONFIG.Token.ringClass.effects[key]; obj[key] = { label, checked: (flags.effects & mask) > 0 };