BCIs are now stored in the manipulation chamber's contents, instead of nullspace (#70350)

Fixes a bug where MMIs would be sent into the nullspace room when in an MMI component inside of a BCI that is inserted into a BCI manipulation chamber.

Stores the BCI in the chamber's contents, instead of nullspace, allowing the MMI to talk, the BCI to still act as it would normally and overall just solves the issue and maybe some others alongside it.

Fixes #70349
This commit is contained in:
RikuTheKiller
2022-10-08 15:24:31 +01:00
committed by GitHub
parent 5c2b340a94
commit a2fcec6a33
2 changed files with 33 additions and 27 deletions
@@ -100,8 +100,7 @@
/obj/machinery/skill_station/dump_inventory_contents(list/subset = null)
// Don't drop the skillchip, it's directly inserted into the machine.
// dump_contents() will drop everything including the skillchip as an alternative to this.
subset = contents - inserted_skillchip
return ..()
return ..(contents - inserted_skillchip)
/obj/machinery/skill_station/proc/toggle_open(mob/user)
state_open ? close_machine() : open_machine()