Dictionary scaling hotfix by Happyrobot33 · Pull Request #610 · ss14Starlight/space-station-14 (original) (raw)
Short description
Hotfixes a bug where a internal dictionary would grow the tracking integer on EVERY message sent
This was me missing a case of when you send a message, we tell it to update collective minds. The issue is we increment the dictionary no matter what. This isn't a LARGE issue other than your collective mind ID late start will be very large quickly
Why we need to add this
Possible memory and performance concerns
Media (Video/Screenshots)
Checks
- I do not require assistance to complete the PR.
- Before posting/requesting review of a PR, I have verified that the changes work.
- I have added screenshots/videos of the changes, or this PR does not change in-game mechanics.
- I affirm that my changes are licensed under the Starlight Fork License and grant permission for use in this repository under its conditions.
Changelog
🆑 Happyrobot33
- fix: Fixed issue with collective mind ID selection.