Skip to content

Commit 44bd95d

Browse files
authored
Another fix (#3388)
I feel so awkward, fixing something in the middle of the night is a terrible idea
1 parent 85bacf7 commit 44bd95d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/effects/jump_out.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ function EFFECT:Init(data)
99

1010
for i = 0, math.Clamp(entity:BoundingRadius() * 2, 10, 500) do
1111
local position = Vector(math.Rand(low.x, high.x), math.Rand(low.y, high.y), math.Rand(low.z, high.z))
12-
local particle = emitter:Add("effects/spark", postion)
12+
local particle = emitter:Add("effects/spark", position)
1313

1414
if particle then
1515
position:Negate()
16-
postion:Add(origin)
17-
postion:Mul(6)
16+
position:Add(origin)
17+
position:Mul(6)
1818

1919
particle:SetVelocity(position)
2020
particle:SetLifeTime(0)

0 commit comments

Comments
 (0)