diff options
author | ubq323 <ubq323@ubq323.website> | 2023-06-18 02:43:48 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-06-18 02:43:48 +0100 |
commit | ed2f984d046d6c148c07661c94febdbe2aa37f7f (patch) | |
tree | ce1d4be603ee87fb189db3f9491794d0870c34ed | |
parent | b3bd4735c36e45bd80dcf549b8397eac8d14bba2 (diff) |
remove accidental global access
-rw-r--r-- | client/movement.lua | 2 |
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 |