aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainlogic.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-29 16:04:36 +0100
committerorwell96 <orwell@bleipb.de>2018-10-29 16:04:36 +0100
commit9f6ae55e37141e8e446e6229132495e69b0e31ad (patch)
treef743f06b704582494283d1625efa533dd9eff99f /advtrains/trainlogic.lua
parentc1d5fb0e8ccc30e39919a910b30d5466a84a8464 (diff)
downloadadvtrains-9f6ae55e37141e8e446e6229132495e69b0e31ad.tar.gz
advtrains-9f6ae55e37141e8e446e6229132495e69b0e31ad.tar.bz2
advtrains-9f6ae55e37141e8e446e6229132495e69b0e31ad.zip
Small fixes which do not have any effect
Diffstat (limited to 'advtrains/trainlogic.lua')
-rw-r--r--advtrains/trainlogic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua
index 15d8871..3d0b3d4 100644
--- a/advtrains/trainlogic.lua
+++ b/advtrains/trainlogic.lua
@@ -258,6 +258,7 @@ function advtrains.train_ensure_init(id, train)
atwarn("Train",id,": Can't initialize: Waiting for the (yet unloaded) node at",train.last_pos," to be loaded.")
end
train.wait_for_path = true
+ return
end
-- by now, we should have a working initial path
train.wait_for_path = false