aboutsummaryrefslogtreecommitdiff
path: root/trainlogic.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-11-03 11:27:17 +0100
committerorwell96 <mono96.mml@gmail.com>2016-11-03 11:27:17 +0100
commit245f07d32324183ae2f300435c07e4cb7520ebc2 (patch)
treefbc2ddb63b2c5f08de9a581f6fa17b0b3e8dfe80 /trainlogic.lua
parent31b579bc5c5e23eca78605ba082e7627334a468e (diff)
downloadadvtrains-245f07d32324183ae2f300435c07e4cb7520ebc2.tar.gz
advtrains-245f07d32324183ae2f300435c07e4cb7520ebc2.tar.bz2
advtrains-245f07d32324183ae2f300435c07e4cb7520ebc2.zip
Add a box wagon
Alongside with coding wagon inventories, and several bugfixes
Diffstat (limited to 'trainlogic.lua')
-rw-r--r--trainlogic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/trainlogic.lua b/trainlogic.lua
index a372b19..5db366e 100644
--- a/trainlogic.lua
+++ b/trainlogic.lua
@@ -769,6 +769,7 @@ function advtrains.invalidate_all_paths()
v.restore_add_index=v.index-math.floor(v.index+0.5)
end
v.path=nil
+ v.path_dist=nil
v.index=nil
v.min_index_on_track=nil
v.max_index_on_track=nil