diff --git a/module/rdd-sheet-utility.js b/module/rdd-sheet-utility.js index 28bca225..383a231a 100644 --- a/module/rdd-sheet-utility.js +++ b/module/rdd-sheet-utility.js @@ -7,7 +7,7 @@ export class RdDSheetUtility { const userRightLevel = game.user.isGM ? CONST.DOCUMENT_OWNERSHIP_LEVELS.OWNER : document.getUserLevel(game.user); - mergeObject(options, { + let newOptions = { isGM: game.user.isGM, isOwned: document.parent ? true : false, editable: editable, @@ -15,7 +15,8 @@ export class RdDSheetUtility { isLimited: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.LIMITED, isObserver: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.OBSERVER, isOwner: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.OWNER - }); + } + mergeObject(options, newOptions); return options; }