mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-28 01:51:46 +00:00
## About The Pull Request 1. Removes `SSshutle.order_history`. This list is responsible for keeping track of all orders delivered through cargo. This list however is neither used for logging nor has an UI interface for players to interact with, it just increases in length & memory as orders are made and goes unused. By removing this list we can now safely delete supply orders after cargo has shipped them thus saving memory 2. Mining orders & Material orders now delete their supply packs when their supply orders are deleted to properly cleanup memory. These 2 are special orders that generate their own unique supply packs that is not part of the custom `SSshuttle.supply_packs` list so it won't cause any issues 3. Removes `SSeconomy.export_total` & `SSeconomy.import_total`. Nobody used these vars so no reason to keep them around. ## Changelog 🆑 code: removed order history, import & export value from cargo & economy subsystems. Allow supply packs to be properly deleted. In general memory savings /🆑