diff --git a/module/applications/dialogs/downtime.mjs b/module/applications/dialogs/downtime.mjs index 10708d02..b0f51c4e 100644 --- a/module/applications/dialogs/downtime.mjs +++ b/module/applications/dialogs/downtime.mjs @@ -95,8 +95,9 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV if (x.system.actions) { const recoverable = x.system.actions.reduce((acc, action) => { if ( - (action.uses.recovery && (action.uses.recovery === 'longRest') === !this.shortrest) || - action.uses.recovery === 'shortRest' + action.uses.recovery && + ((action.uses.recovery === 'longRest' && !this.shortrest) || + action.uses.recovery === 'shortRest') ) { acc.push({ title: x.name, diff --git a/system.json b/system.json index a0c91923..1be9ada5 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "daggerheart", "title": "Daggerheart", "description": "An unofficial implementation of the Daggerheart system", - "version": "1.0.0", + "version": "1.0.2", "compatibility": { "minimum": "13", "verified": "13.347",