Removed the disabled default ownership select in the ownership view. Added a fallback text incase there are no players added yet

This commit is contained in:
WBHarry 2025-12-22 21:34:01 +01:00
parent 51eadc499f
commit 9cb014888b
5 changed files with 21 additions and 21 deletions

View file

@ -38,7 +38,6 @@ export default class OwnershipSelection extends HandlebarsApplicationMixin(Appli
async _prepareContext(_options) {
const context = await super._prepareContext(_options);
context.ownershipDefaultOptions = CONFIG.DH.GENERAL.basicOwnershiplevels;
context.ownershipOptions = CONFIG.DH.GENERAL.simpleOwnershiplevels;
context.defaultOwnership = this.defaultOwnership;
context.ownership = game.users.reduce((acc, user) => {