RnK : Fixed rights (introduced with strife modification)

This commit is contained in:
Vlyan
2022-03-24 09:15:21 +01:00
parent f17cc1c7b0
commit 49214fc330
2 changed files with 3 additions and 2 deletions

View File

@@ -235,7 +235,8 @@ export class RollnKeepDialog extends FormApplication {
return { return {
...super.getData(options), ...super.getData(options),
isGM: game.user.isGM, isGM: game.user.isGM,
showStrifeBt: rollData.summary.strife > 0 && rollData.actor?.isCharacter, showChoices: options.editable && !rollData.rnkEnded,
showStrifeBt: options.editable && rollData.summary.strife > 0 && rollData.actor?.isCharacter,
cssClass: this.options.classes.join(" "), cssClass: this.options.classes.join(" "),
data: this.object, data: this.object,
l5r5e: rollData, l5r5e: rollData,

View File

@@ -38,7 +38,7 @@
</header> </header>
<section class="rnk-ct"> <section class="rnk-ct">
{{!-- Body --}} {{!-- Body --}}
{{^if l5r5e.rnkEnded}} {{#if showChoices}}
{{!-- Face Rings --}} {{!-- Face Rings --}}
<fieldset class="dropbox swap"> <fieldset class="dropbox swap">
<legend class="section-header"> <legend class="section-header">