Skip to content

Commit eddf418

Browse files
authored
Hotfix (#3386)
Fixes: `attempt to index global 'position' (a nil value)` Woops :/
1 parent 9a2d0f8 commit eddf418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/effects/jump_out.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function EFFECT:Init(data)
88
local emitter = ParticleEmitter(entity:GetPos())
99

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

1414
if particle then

0 commit comments

Comments
 (0)