mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +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
|
elseif diff<(-math.pi) then
|
||||||
diff=diff+(2*math.pi)
|
diff=diff+(2*math.pi)
|
||||||
end
|
end
|
||||||
yawdir=cart_func:get_sign(diff)
|
local yawdir=cart_func:get_sign(diff)
|
||||||
local step=self.YAW_STEP
|
local step=self.YAW_STEP
|
||||||
if math.abs(diff)<=self.YAW_STEP then
|
if math.abs(diff)<=self.YAW_STEP then
|
||||||
step=diff
|
step=diff
|
||||||
|
Loading…
Reference in New Issue
Block a user