Skip to content

fix: Recompute server save time inside raid onThink - #897

Merged
jprzimba merged 1 commit into
mainfrom
raids
Aug 13, 2026
Merged

fix: Recompute server save time inside raid onThink#897
jprzimba merged 1 commit into
mainfrom
raids

Conversation

@jprzimba

Copy link
Copy Markdown
Collaborator

Move the serverSaveTime and stopExecutionAt calculations into raidCheck.onThink so they are recomputed each tick rather than using values evaluated at script load. This prevents stale timing and ensures raids stop rolling 1 hour before the configured server save time as intended. Removes the now-unnecessary top-level declarations.

Move the serverSaveTime and stopExecutionAt calculations into raidCheck.onThink so they are recomputed each tick rather than using values evaluated at script load. This prevents stale timing and ensures raids stop rolling 1 hour before the configured server save time as intended. Removes the now-unnecessary top-level declarations.
@jprzimba
jprzimba merged commit 8639980 into main Aug 13, 2026
14 checks passed
@jprzimba
jprzimba deleted the raids branch August 13, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant