summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-06-18 02:43:48 +0100
committerubq323 <ubq323@ubq323.website>2023-06-18 02:43:48 +0100
commited2f984d046d6c148c07661c94febdbe2aa37f7f (patch)
treece1d4be603ee87fb189db3f9491794d0870c34ed
parentb3bd4735c36e45bd80dcf549b8397eac8d14bba2 (diff)
remove accidental global access
-rw-r--r--client/movement.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/movement.lua b/client/movement.lua
index 33e0532..2aa870b 100644
--- a/client/movement.lua
+++ b/client/movement.lua
@@ -27,7 +27,7 @@ local function iqz_hex_sdgf(px,py, r)
px = px - clamp(px,-kz*r,kz*r)
py = py - r
- d = math.sqrt(px*px+py*py)*sign(py)
+ local d = math.sqrt(px*px+py*py)*sign(py)
local gx,gy
if w<0 then