ACF-Team / ACF-3

ACF
MIT License
67 stars 53 forks source link

Fix null particle reference #385

Closed brandonsturgeon closed 5 months ago

brandonsturgeon commented 5 months ago

Getting a few stray errors about Smoke being a NULL CNewParticleEffect:

Tried to use a NULL CNewParticleEffect!
1.  StopEmission - [C]:-1
 2.  FadeAway - addons/acf-3/lua/acf/damage/damage_cl.lua:124
  3.  unknown - addons/acf-3/lua/acf/damage/damage_cl.lua:189

I don't understand how or why it becomes invalid, so I can't determine if this is a good fix, but it would definitely work 😅