mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-07-05 11:32:53 +00:00

We were using += instead of =, meaning the budget always grew, rather than growing while there was still space. As a result, computers were never correctly rate limited. Further more, if a computer went into a deficit, we would continue to increase the budget by a negative amount, exponentially decreasing until overflowing! Yes, this is a very embarrassing mistake. I'd been aware that rate limiting wasn't working as expected for a while, I hadn't realised the problem would be this stupid.