Skip to content

Commit

Permalink
Fix null particle reference
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Jan 24, 2024
1 parent a8a7fa3 commit e1cc989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/acf/damage/damage_cl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ do -- Debris Effects ------------------------
Entity:StopAndDestroyParticles()
end)

if Smoke then Smoke:StopEmission() end
if Ember then Ember:StopEmission() end
if IsValid(Smoke) then Smoke:StopEmission() end
if IsValid(Ember) then Ember:StopEmission() end

timer.Simple(5, function()
if not IsValid(Entity) then return end
Expand Down

0 comments on commit e1cc989

Please sign in to comment.