mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-05 22:43:46 +00:00
Following the cyborg inventory refactor, code changed a bit. Cyborg inventory screens are inited in the HUD, however AI Shells don't generate a HUD until an AI assumes direct control. Damaging an AI shell before the AI created a HUD in it would cause runtimes as modules disabled and enabled. To remedy this, we now initialize the core inventory slots on the robit Init() and then update them as necessary in the HUD code later on if an AI ever deigns to grace your shell with their exalted presence instead of asking for it and then never using it.