Makes all cyborg storage items drop their contents on module change (#63461)

This commit is contained in:
Seth Scherer
2021-12-25 17:55:06 -08:00
committed by GitHub
parent f7d70da56e
commit 8049a4ad35
@@ -679,6 +679,11 @@
SEND_SIGNAL(src, COMSIG_BORG_SAFE_DECONSTRUCT)
uneq_all()
shown_robot_modules = FALSE
for(var/obj/item/storage/bag in model.contents) // drop all of the items that may be stored by the cyborg
for(var/obj/item in bag)
item.forceMove(drop_location())
if(hud_used)
hud_used.update_robot_modules_display()