1
0
mirror of https://github.com/SmallJoker/boost_cart.git synced 2024-11-14 23:00:20 +01:00

Remove this line.

This commit is contained in:
SmallJoker 2014-08-04 19:08:01 +02:00
parent 64fa36e796
commit fa2f2cb71c

View File

@ -168,7 +168,6 @@ function boost_cart.cart:on_step(dtime)
local speed_mod = tonumber(minetest.get_meta(pos):get_string("cart_acceleration"))
if speed_mod and speed_mod ~= 0 then
if speed_mod > 0 then
local is_limit = false
for _,v in ipairs({"x","y","z"}) do
if math.abs(vel[v]) >= max_vel then
speed_mod = 0