mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
.
This commit is contained in:
parent
2962f8b755
commit
3b237a223f
3 changed files with 37 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue