Fix heading in short rest chat message.

Prior to this commit the heading for a short rest chat message was "long
rest".
This commit is contained in:
George Brocklehurst 2025-07-20 10:13:12 +01:00
parent b05915bd80
commit 25bd00812d
No known key found for this signature in database
GPG key ID: 0C643A97B51FFCFB

View file

@ -157,7 +157,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
content: await foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/ui/chat/downtime.hbs',
{
title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${this.shortRest ? 'shortRest' : 'longRest'}.title`)}`,
title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${this.shortrest ? 'shortRest' : 'longRest'}.title`)}`,
moves: moves
}
)