Feature/89 gm fear display (#102)

* gm fear display

* clean up

* Make Fear Panel resizable

* Update for evil light mode

* Fix clients fear update
This commit is contained in:
Dapoulp 2025-06-01 23:40:10 +02:00 committed by GitHub
parent 879299b661
commit 6bfb25325f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -105,6 +105,5 @@ export default class Resources extends HandlebarsApplicationMixin(ApplicationV2)
if(!game.user.isGM) return;
value = Math.max(0, Math.min(this.maxFear, value));
await game.settings.set(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.Resources.Fear, value);
await this.render(true);
}
}