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 {
...super.getData(options),
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(" "),
data: this.object,
l5r5e: rollData,