Skip to content

Commit

Permalink
Merge pull request #385 from CFC-Servers/feature/fix-null-particle-re…
Browse files Browse the repository at this point in the history
…ference

Fix null particle reference
  • Loading branch information
thecraftianman authored Jan 24, 2024
2 parents a8a7fa3 + e1cc989 commit 0948493
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 0948493

Please sign in to comment.