Skip to content

Commit

Permalink
Event now ends a few seconds early instead of ~1 minute late
Browse files Browse the repository at this point in the history
  • Loading branch information
emmericp authored and Paul Emmerich committed Feb 13, 2024
1 parent 09067b4 commit e2c731a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DBM-PvP/BloodMoon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function mod:UPDATE_UI_WIDGET(tbl)
if info and info.state ~= Enum.IconAndTextWidgetState.Hidden and info.text then
local timeRemaining = info.text:match(L.ParseTimeFromWidget)
timeRemaining = tonumber(timeRemaining) or -1
self:startEvent(timeRemaining + 1.1) -- Event goes on for a bit longer than a minute after it updates to 0 minutes remaining
self:startEvent(timeRemaining - 0.05) -- Event ends a few seconds early
end
end
end
Expand Down

0 comments on commit e2c731a

Please sign in to comment.