Add wait duration to OnTick function for performance optimization

This commit is contained in:
2026-01-17 22:33:05 +00:00
parent d43f38db88
commit 07146068d6

View File

@@ -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.