From 8ee7338b24567228103d0fb24c9096e75df09497 Mon Sep 17 00:00:00 2001 From: taMiF Date: Sun, 18 Feb 2024 14:36:32 +0100 Subject: [PATCH] [BUG] Couldn't open Actor sheets with lifestyle items --- src/module/item/ChatData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/item/ChatData.ts b/src/module/item/ChatData.ts index 98009928..1e70b298 100644 --- a/src/module/item/ChatData.ts +++ b/src/module/item/ChatData.ts @@ -138,7 +138,7 @@ export const ChatData = { }, lifestyle: (system, labels, props) => { - props.push(Helpers.label(game.i18n.localize(SR5.lifestyleTypes[system.target]))); + props.push(game.i18n.localize(SR5.lifestyleTypes[system.type])); if (system.cost) props.push(`¥${system.cost}`); if (system.comforts) props.push(`${game.i18n.localize('SR5.LifestyleComforts')} ${system.comforts}`); if (system.security) props.push(`${game.i18n.localize('SR5.LifestyleSecurity')} ${system.security}`);