diff --git a/src/components/wired/views/conditions/WiredConditionActorIsWearingEffectView.tsx b/src/components/wired/views/conditions/WiredConditionActorIsWearingEffectView.tsx index 0909018e..41ce3dd6 100644 --- a/src/components/wired/views/conditions/WiredConditionActorIsWearingEffectView.tsx +++ b/src/components/wired/views/conditions/WiredConditionActorIsWearingEffectView.tsx @@ -13,13 +13,13 @@ export const WiredConditionActorIsWearingEffectView: FC<{}> = props => useEffect(() => { - setEffect((trigger.intData.length > 0) ? trigger.intData[0] : 0); + setEffect((trigger?.stringData !== '') ? parseInt(trigger?.stringData!) : 0); }, [ trigger ]); return ( - { LocalizeText('wiredfurni.params.effectid') } + { LocalizeText('wiredfurni.tooltip.effectid') } setEffect(parseInt(event.target.value)) } />