Le GR a toujours le droit de voir

Change-Id: I3b58fddc3ce6765e6dcf59dc20d81cdadf381761
This commit is contained in:
Vincent Vandemeulebrouck 2023-01-03 13:26:44 +01:00
parent 4acd0879b0
commit 5bddc548de

View File

@ -31,7 +31,7 @@ export class RdDBaseActorSheet extends ActorSheet {
Monnaie.validerMonnaies(this.actor.itemTypes['monnaie']); Monnaie.validerMonnaies(this.actor.itemTypes['monnaie']);
this.actor.recompute(); this.actor.recompute();
const userRightLevel = this.actor.getUserLevel(game.user) const userRightLevel = game.user.isGM ? CONST.DOCUMENT_OWNERSHIP_LEVELS.OWNER : this.actor.getUserLevel(game.user)
const options = duplicate(this.options); const options = duplicate(this.options);
mergeObject(options, { mergeObject(options, {
isGM: game.user.isGM, isGM: game.user.isGM,