aboutsummaryrefslogtreecommitdiff
path: root/advtrains/path.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-05-29 15:53:34 +0200
committerorwell96 <orwell@bleipb.de>2018-06-14 17:39:42 +0200
commit3d7924c751bc8ca438e4b9bd1cb1f241cc636494 (patch)
treef389bb158500b7bdb03d792f7f1a80bd8a5de18b /advtrains/path.lua
parent521112aced4e06f8fb59c9dfe8d0e082da858eb1 (diff)
downloadadvtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.tar.gz
advtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.tar.bz2
advtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.zip
Fix bugs found while testing
Diffstat (limited to 'advtrains/path.lua')
-rw-r--r--advtrains/path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/path.lua b/advtrains/path.lua
index 8bdb72b..4a81ce9 100644
--- a/advtrains/path.lua
+++ b/advtrains/path.lua
@@ -54,7 +54,7 @@ function advtrains.path_create(train, pos, connid, rel_index)
train.path_req_b=0
advtrains.occ.set_item(train.id, posr, 0)
-
+ return true
end
-- Sets position and connid to properly restore after a crash, e.g. in order