From 7c60b8ffd1c1ed9d30de80727023ede4e186d0e6 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 22 Jan 2019 21:06:26 +0100 Subject: Fix small bug in routeui and make another message log-only --- advtrains/occupation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advtrains/occupation.lua') 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) -- cgit v1.2.3