mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
* Fix: potential bucket corruption in timer reset_buckets (#63427) Ports Semoro's fix (ss220-space/Paradise#511) related to potential SStimer bucket corruption which caused infinite loop. The essence of the fix is that earlier timers with a built linkedlist could get into the second queue, which could cause an incorrect state. It works super stupidly, resets the state to the original correct one BUT THERE IS STILL A BUG IN THE CODE RELATED TO THE INFINITE LOOP! For some reason the SStimer on our server started to break recently at the beginning of the round. Found that code for waterfall drip effect was causing the issue. Found that setting frequensy to 0 (and calling reset_bucket sometimes) can be used to reproduce the bug. Tried to fix it with this PR there is an oustanding bug with airlocks causing SStimer to brake sometimes. cl fix: fixed potential bucket corruption in timer reset_buckets /cl * Fix: potential bucket corruption in timer reset_buckets Co-authored-by: Aziz Chynaliev <azizonkg@gmail.com>