aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r--advtrains_luaautomation/interrupt.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_luaautomation/interrupt.lua b/advtrains_luaautomation/interrupt.lua
index 2e54ad8..e9b47fe 100644
--- a/advtrains_luaautomation/interrupt.lua
+++ b/advtrains_luaautomation/interrupt.lua
@@ -46,6 +46,7 @@ function iq.add(t, pos, evtdata)
end
function iq.mainloop(dtime)
+ tracy.ZoneBeginN("atlatc.interrupt.mainloop")
timer=timer + math.min(dtime, 0.2)
local i=1
while i<=#queue do
@@ -66,6 +67,7 @@ function iq.mainloop(dtime)
i=i+1
end
end
+ tracy.ZoneEnd()
end