I am silly (wearning Dunce hat)

This commit is contained in:
Nikhil Nagarajan 2025-11-08 16:34:12 -05:00
parent eaf4e3b78f
commit c887f82e3f

View file

@ -19,7 +19,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
actions: {
toggleVault: CharacterSheet.#toggleVault,
rollAttribute: CharacterSheet.#rollAttribute,
toggleHitpoints: CharacterSheet.#toggleHitPoints,
toggleHitPoints: CharacterSheet.#toggleHitPoints,
toggleHope: CharacterSheet.#toggleHope,
toggleLoadoutView: CharacterSheet.#toggleLoadoutView,
openPack: CharacterSheet.#openPack,
@ -736,7 +736,6 @@ export default class CharacterSheet extends DHBaseActorSheet {
const hitPointsValue = Number.parseInt(button.dataset.value);
const newValue = this.document.system.resources.hitPoints.value >= hitPointsValue ? hitPointsValue - 1 : hitPointsValue;
await this.document.update({ 'system.resources.hitPoints.value': newValue });
this.render();
}
/**