diff options
Diffstat (limited to 'advtrains/lzb.lua')
-rw-r--r-- | advtrains/lzb.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains/lzb.lua b/advtrains/lzb.lua index 64e4553..5883a55 100644 --- a/advtrains/lzb.lua +++ b/advtrains/lzb.lua @@ -81,6 +81,7 @@ local function look_ahead(id, train) -- in order to not trigger approach callbacks on the wrong path return end + tracy.ZoneBeginN("advtrains.lzb_look_ahead") local acc = advtrains.get_acceleration(train, 1) -- worst-case: the starting point is maximum speed @@ -122,6 +123,7 @@ local function look_ahead(id, train) lzb.trav_index = trav + tracy.ZoneEnd() end advtrains.lzb_look_ahead = look_ahead |