Skip to content

Commit

Permalink
Update game_effects.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXonte authored Jan 27, 2025
1 parent 6a1e525 commit f21fd84
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lua/ttt2/libraries/game_effects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ end
-- @internal
-- @realm server
function gameEffects.ExplosiveSphereDamage(
attacker,
inflictor,
damage,
origin,
outerRadius,
innerRadius
)
attacker,
inflictor,
damage,
origin,
outerRadius,
innerRadius
)
-- It seems intuitive to use FindInSphere here, but that will find all ents
-- in the radius, whereas there exist only ~16 players. Hence it is more
-- efficient to cycle through all those players and do a Lua-side distance
Expand Down

0 comments on commit f21fd84

Please sign in to comment.