From 07146068d65f52fa6ea1ca2363170f771c9245b2 Mon Sep 17 00:00:00 2001 From: Nathan Falvey Date: Sat, 17 Jan 2026 22:33:05 +0000 Subject: [PATCH] Add wait duration to OnTick function for performance optimization --- effect_template.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/effect_template.lua b/effect_template.lua index 8669169..4d7629e 100644 --- a/effect_template.lua +++ b/effect_template.lua @@ -32,6 +32,7 @@ end -- Called every game tick while the effect is active function OnTick() -- Keep this lightweight. Use this for per-frame checks or gradual changes. + WAIT(500) -- Example: wait 500 ms between ticks, adjust as needed, also for performance end -- Add custom helper functions below.