summaryrefslogtreecommitdiff
path: root/boost_cart/cart_entity.lua
diff options
context:
space:
mode:
Diffstat (limited to 'boost_cart/cart_entity.lua')
-rw-r--r--boost_cart/cart_entity.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost_cart/cart_entity.lua b/boost_cart/cart_entity.lua
index 1633758..4147c09 100644
--- a/boost_cart/cart_entity.lua
+++ b/boost_cart/cart_entity.lua
@@ -231,7 +231,7 @@ function cart_entity:on_step(dtime)
local acc = nil
local acc_meta = minetest.get_meta(pos):get_string("cart_acceleration")
- if acc_meta == "halt" then
+ if acc_meta == "halt" and not self.punched then
-- Stop rail
vel = {x=0, y=0, z=0}
acc = false