From 575bc0c119f9aa61c5e24411ad46701c52e17a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Fri, 1 May 2020 23:01:15 +0200 Subject: Improve luacheck, remove some unused variables --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index eee4d8a..68f79d4 100644 --- a/init.lua +++ b/init.lua @@ -53,7 +53,7 @@ elevator.create_box = function(motorhash, pos, target, sender) obj:get_luaentity().vmult = (target.y < pos.y) and -1 or 1 -- FIX for "overshooting" local delta_y = math.abs(pos.y-target.y) - + local speed = elevator.SPEED if (delta_y