aboutsummaryrefslogtreecommitdiff
path: root/advtrains_line_automation
diff options
context:
space:
mode:
authorY. Wang <y5nw@protonmail.com>2024-09-15 15:45:41 +0200
committerY. Wang <y5nw@protonmail.com>2024-09-15 15:45:41 +0200
commitb5d2c23b3266299c78230ccc71a055e2c1ae00fa (patch)
treee37167a65e264ecb57d6ae78e8498b3f0b7ca731 /advtrains_line_automation
parent9ada994d5b3bd874e537b0bc9641b925058bdf51 (diff)
downloadadvtrains-b5d2c23b3266299c78230ccc71a055e2c1ae00fa.tar.gz
advtrains-b5d2c23b3266299c78230ccc71a055e2c1ae00fa.tar.bz2
advtrains-b5d2c23b3266299c78230ccc71a055e2c1ae00fa.zip
Add tracy annotations
Diffstat (limited to 'advtrains_line_automation')
-rw-r--r--advtrains_line_automation/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_line_automation/init.lua b/advtrains_line_automation/init.lua
index 7b758bc..78d9436 100644
--- a/advtrains_line_automation/init.lua
+++ b/advtrains_line_automation/init.lua
@@ -42,6 +42,8 @@ function advtrains.lines.save()
end
function advtrains.lines.step(dtime)
+ tracy.ZoneBeginN("advtrains.lines.step")
advtrains.lines.rwt.step(dtime)
advtrains.lines.sched.run()
+ tracy.ZoneEnd()
end