aboutsummaryrefslogtreecommitdiff
path: root/trainlogic.lua
diff options
context:
space:
mode:
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