Fix: merge d'options sur token

This commit is contained in:
Vincent Vandemeulebrouck 2023-03-15 00:34:20 +01:00
parent 45bfc69b39
commit ffccc819f1

View File

@ -9,7 +9,7 @@ export class RdDSheetUtility {
: document.getUserLevel(game.user);
mergeObject(options, {
isGM: game.user.isGM,
isOwned: document.parent,
isOwned: document.parent ? true : false,
editable: editable,
cssClass: editable ? "editable" : "locked",
isLimited: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.LIMITED,