diff options
Diffstat (limited to 'advtrains/trainlogic.lua')
-rw-r--r-- | advtrains/trainlogic.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua index 5c40ce0..5b9e9ef 100644 --- a/advtrains/trainlogic.lua +++ b/advtrains/trainlogic.lua @@ -858,9 +858,11 @@ local function mknodecallback(name) end end return callt, function(pos, id, train, index, paramx1, paramx2, paramx3) + tracy.ZoneBegin("advtrains.run_callbacks_" .. name .. "node") for _,f in ipairs(callt) do f(pos, id, train, index, paramx1, paramx2, paramx3) end + tracy.ZoneEnd() end end |