diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-27 08:33:49 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-27 08:33:49 -0400 |
commit | 48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba (patch) | |
tree | 135ef223aa64bf39db89e8474559d47cca1261a6 /boost_cart | |
parent | 97f7566fa47b4dba67d40ae05ede7936a5c8553a (diff) | |
download | dreambuilder_modpack-48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba.tar dreambuilder_modpack-48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba.tar.gz dreambuilder_modpack-48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba.tar.bz2 dreambuilder_modpack-48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba.tar.xz dreambuilder_modpack-48bad2ca76a5ec46ebd8c363f2c5a0cfc08f06ba.zip |
update castles, boost_cart, and moreores.
Diffstat (limited to 'boost_cart')
-rw-r--r-- | boost_cart/cart_entity.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/boost_cart/cart_entity.lua b/boost_cart/cart_entity.lua index 32ebe5f..07a7d69 100644 --- a/boost_cart/cart_entity.lua +++ b/boost_cart/cart_entity.lua @@ -238,7 +238,6 @@ function cart_entity:on_step(dtime) pos = vector.round(pos) update.pos = true update.vel = true - mod_found = true end if acc == nil then -- Meta speed modifier @@ -266,11 +265,7 @@ function cart_entity:on_step(dtime) end -- Slow down or speed up, depending on Y direction - if acc then - acc = acc + dir.y * -2.5 - else - acc = 0 - end + acc = acc + dir.y * -2 if self.old_dir.y ~= 1 and not self.punched then -- Stop the cart swing between two rail parts (handbrake) |