mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2024-11-30 18:13:44 +01:00
Remove this line.
This commit is contained in:
parent
64fa36e796
commit
fa2f2cb71c
1
init.lua
1
init.lua
@ -168,7 +168,6 @@ function boost_cart.cart:on_step(dtime)
|
|||||||
local speed_mod = tonumber(minetest.get_meta(pos):get_string("cart_acceleration"))
|
local speed_mod = tonumber(minetest.get_meta(pos):get_string("cart_acceleration"))
|
||||||
if speed_mod and speed_mod ~= 0 then
|
if speed_mod and speed_mod ~= 0 then
|
||||||
if speed_mod > 0 then
|
if speed_mod > 0 then
|
||||||
local is_limit = false
|
|
||||||
for _,v in ipairs({"x","y","z"}) do
|
for _,v in ipairs({"x","y","z"}) do
|
||||||
if math.abs(vel[v]) >= max_vel then
|
if math.abs(vel[v]) >= max_vel then
|
||||||
speed_mod = 0
|
speed_mod = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user