From 789e84936401b9cd62f860989fd4594aba63637f Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 2 Sep 2018 20:17:12 +0100 Subject: [PATCH] remove boost_cart reference --- cart_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cart_entity.lua b/cart_entity.lua index ae3453e..ae20cb0 100644 --- a/cart_entity.lua +++ b/cart_entity.lua @@ -57,7 +57,7 @@ function cart_entity:on_activate(staticdata, dtime_s) self.old_dir = data.old_dir or self.old_dir self.old_pos = data.old_pos or self.old_pos -- Correct the position when the cart drives further after the last 'step()' - if self.old_pos and boost_cart:is_rail(self.old_pos, self.railtype) then + if self.old_pos and carts:is_rail(self.old_pos, self.railtype) then self.object:set_pos(self.old_pos) end end