fix iswearingeffect condition

This commit is contained in:
dank074 2023-01-30 19:03:49 -06:00
parent dbd1ea0866
commit 350e72b8d7

View File

@ -13,7 +13,7 @@ export const WiredConditionActorIsWearingEffectView: FC<{}> = props =>
useEffect(() =>
{
setEffect((trigger?.stringData !== '') ? parseInt(trigger?.stringData!) : 0);
setEffect(trigger?.intData[0] ?? 0);
}, [ trigger ]);
return (