Fixed so that status effects are shown on ActiveEffectConfig again when useGeneric is not active (#1293)

This commit is contained in:
WBHarry 2025-11-17 09:53:03 +01:00 committed by GitHub
parent c3660ffa34
commit fe8e98ef35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
}));