Skip to content

Fix timer buckets being reset unnecessarily#12566

Draft
noelle-lavenza wants to merge 2 commits into
cmss13-devs:masterfrom
noelle-lavenza:optimize/bucket-reset
Draft

Fix timer buckets being reset unnecessarily#12566
noelle-lavenza wants to merge 2 commits into
cmss13-devs:masterfrom
noelle-lavenza:optimize/bucket-reset

Conversation

@noelle-lavenza

@noelle-lavenza noelle-lavenza commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

About the pull request

Timer buckets were getting reset unnecessarily due to rounding issues. Change separated out from #11826.

Explain why it's good for the game

Resetting buckets is an expensive operations.

Testing Photographs and Procedure

N/A, backend change. Basic game testing still worked.

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑 MoondancerPony
code: made timer buckets do fewer unnecessary resets
code: made the sound_loops timer subsystem reset buckets on tickrate change like timers do
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Jul 2, 2026
@cmss13-ci cmss13-ci Bot added Missing Changelog Maintainers always document their changes. size/XS Denotes a PR that changes 0-19 lines, ignoring generated files. Code Improvement Make the code longer and removed Missing Changelog Maintainers always document their changes. labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Improvement Make the code longer size/XS Denotes a PR that changes 0-19 lines, ignoring generated files.

Projects

Status: Awaiting Review

Development

Successfully merging this pull request may close these issues.

1 participant