Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXonte committed Jan 23, 2025
1 parent 6551db8 commit b620833
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/ttt2/libraries/game_effects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ function gameEffects.ExplosiveSphereDamage(dmgowner, source, damage, origin, out
dFraction = 1.0 - math.max((d - innerRadius) / radiDiff,0.0)

--Next Iteration if we are outside the radius
if dFraction < 0.0 then
continue
if dFraction < 0.0 then
continue
end

dmg = math.Round(damage * dFraction * ((exponentialFalloff and dFraction) or 1))

local dmginfo = DamageInfo()
local dmginfo = DamageInfo()
dmginfo:SetDamage(dmg)
dmginfo:SetAttacker(dmgowner)
dmginfo:SetInflictor(source)
Expand Down

0 comments on commit b620833

Please sign in to comment.