Fix forgotten variable to rename

This commit is contained in:
SmallJoker 2016-10-26 19:47:48 +02:00
parent b741282843
commit 75132269d7

View File

@ -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