Corrected the data path for showing the difficulty marker in roll chat messages (#1950)

This commit is contained in:
WBHarry 2026-05-31 03:05:13 +02:00 committed by GitHub
parent d3141059ac
commit c23ac61ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,13 +12,9 @@
{{/if}} {{/if}}
</span> </span>
</div> </div>
{{#if roll.difficulty}} {{#if roll.options.roll.difficulty}}
<span class="roll-difficulty{{#unless roll.success}} is-miss{{/unless}}"> <span class="roll-difficulty{{#unless roll.options.roll.success}} is-miss{{/unless}}">
{{!-- {{#if canViewSecret}} --}} {{localize "DAGGERHEART.GENERAL.difficulty"}} {{roll.options.roll.difficulty}}
difficulty {{roll.difficulty}}
{{!-- {{else}}
{{localize (ifThen roll.success "DAGGERHEART.GENERAL.success" "DAGGERHEART.GENERAL.failure")}}
{{/if}} --}}
</span> </span>
{{/if}} {{/if}}
</div> </div>