Fixed so that status effects are shown on ActiveEffectConfig again when useGeneric is not active

This commit is contained in:
WBHarry 2025-11-16 11:01:12 +01:00
parent 481ce46edf
commit ad1cf9c7b6

View file

@ -112,7 +112,7 @@ export default class DhActiveEffectConfig extends foundry.applications.sheets.Ac
CONFIG.DH.SETTINGS.gameSettings.appearance
).showGenericStatusEffects;
if (!useGeneric) {
partContext.statuses = Object.values(CONFIG.DH.GENERAL.conditions).map(status => ({
partContext.statuses = Object.values(CONFIG.DH.GENERAL.conditions()).map(status => ({
value: status.id,
label: game.i18n.localize(status.name)
}));