diff --git a/assets/Scripts/Game/Items/PickupEffect/PickupEffectManager.ts b/assets/Scripts/Game/Items/PickupEffect/PickupEffectManager.ts index 96e61b1..ff5a4b7 100644 --- a/assets/Scripts/Game/Items/PickupEffect/PickupEffectManager.ts +++ b/assets/Scripts/Game/Items/PickupEffect/PickupEffectManager.ts @@ -21,6 +21,6 @@ export class PickupEffectManager extends Component { await delay(450); - this.effectPool.return(effect); + this.effectPool?.return(effect); } }