aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
committerorwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
commit7c60b8ffd1c1ed9d30de80727023ede4e186d0e6 (patch)
tree0ad210c102745ce65ffc08b987000dbb9cb4ab90 /advtrains
parenta34c2f40532a4b424a64c475e732dc9e7d96ae29 (diff)
downloadadvtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.gz
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.bz2
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.zip
Fix small bug in routeui and make another message log-only
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/occupation.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/occupation.lua b/advtrains/occupation.lua
index 568f308..6e14459 100644
--- a/advtrains/occupation.lua
+++ b/advtrains/occupation.lua
@@ -190,7 +190,7 @@ end
function o.get_occupations(train, index)
local ppos, ontrack = advtrains.path_get(train, index)
if not ontrack then
- atwarn("Train",train.id,"get_occupations requested off-track",index)
+ atlog("Train",train.id,"get_occupations requested off-track",index)
return {}, ppos
end
local pos = advtrains.round_vector_floor_y(ppos)