Skip to content

Commit

Permalink
Fix lua error
Browse files Browse the repository at this point in the history
  • Loading branch information
Astralcircle committed Jan 16, 2025
1 parent 2f6ad01 commit 613286f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/entities/acf_missile/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,9 @@ function ENT:Detonate(Destroyed)
return Fuze:HandleDetonation(self, BulletData)
end

Debug.Line(BulletData.Pos, BulletData.Pos + BulletData.Flight, 10, Color(255, 128, 0))
if BulletData.Pos then
Debug.Line(BulletData.Pos, BulletData.Pos + BulletData.Flight, 10, Color(255, 128, 0))
end

BulletData.DetonatorAngle = 91

Expand Down

0 comments on commit 613286f

Please sign in to comment.