This commit is contained in:
WBHarry 2025-12-17 18:37:32 +01:00
parent 2962f8b755
commit 3b237a223f
3 changed files with 37 additions and 8 deletions

View file

@ -146,14 +146,6 @@ export default class BaseDataActor extends foundry.abstract.TypeDataModel {
options.scrollingTextData = textData;
}
if (!this.parent.isToken && changes.system?.size) {
const tokenSizes = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew).tokenSizes;
this.parent.prototypeToken.update({
width: tokenSizes[changes.system.size],
height: tokenSizes[changes.system.size]
});
}
if (changes.system?.resources) {
const defeatedSettings = game.settings.get(
CONFIG.DH.id,