From 40d17cbe19b02f76d20c9524fe758cfe45ea0227 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 9 Aug 2024 17:57:09 -0700 Subject: [PATCH] break out of the loop once we no longer need to update it --- timestream.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/timestream.lua b/timestream.lua index 2bb818bd3..200b68843 100644 --- a/timestream.lua +++ b/timestream.lua @@ -91,6 +91,8 @@ local function register_birthday(unit) for tick=btick,0,-1 do if (birthday_triggers[tick] or math.huge) > btick then birthday_triggers[tick] = btick + else + break end end end