mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Removed a global variable in carts
This commit is contained in:
parent
84ead6a062
commit
3bd75abd88
@ -552,7 +552,7 @@ function cart:on_step(dtime)
|
||||
elseif diff<(-math.pi) then
|
||||
diff=diff+(2*math.pi)
|
||||
end
|
||||
yawdir=cart_func:get_sign(diff)
|
||||
local yawdir=cart_func:get_sign(diff)
|
||||
local step=self.YAW_STEP
|
||||
if math.abs(diff)<=self.YAW_STEP then
|
||||
step=diff
|
||||
|
Loading…
Reference in New Issue
Block a user