From 75132269d7e306a5c63f4c0461231c43942ab160 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 26 Oct 2016 19:47:48 +0200 Subject: [PATCH] Fix forgotten variable to rename --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index ea82539..604ed50 100644 --- a/init.lua +++ b/init.lua @@ -293,7 +293,7 @@ function boost_cart.cart:on_step(dtime) if not vector.equals(dir, {x=0, y=0, z=0}) then self.old_dir = vector.new(dir) end - self.old_switch = last_switch + self.old_switch = switch_keys if self.punched then