mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-07 15:20:12 +01:00
4e05dd63f9
The list of active timers timer_id_dict identifies timers by their numerical id as a string. However this was done using embedded expressions inside the string, which calls num2text with a default of 6 significant figures. This means anything at or above 1 million is expressed in scientific notation. "timer[1000000]" -> "timer1e+06" "timer[1000001]" -> "timer1e+06" Calling num2text manually with 8 significant figures kicks the collision problem down the road to 2^24 (16 million). nextid is now selectively incremented and is looped back to 1 when reaching the 2^24 threshold. Also now includes collision checking.