mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-08 03:20:21 +01:00
Removed a global variable in carts
This commit is contained in:
parent
330d63ae96
commit
4a25fa3f89
|
@ -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