[s] Fixes bluespace bodybags allowing you to delete them when you're inside of them (#69529)

Fixes bluespace bodybags allowing you to delete them in the round
This commit is contained in:
GoldenAlpharex
2022-08-28 19:13:05 -04:00
committed by GitHub
parent bae49bb01d
commit b170581cee
@@ -137,6 +137,11 @@
if(contents.len >= mob_storage_capacity / 2)
to_chat(the_folder, span_warning("There are too many things inside of [src] to fold it up!"))
return
if(the_folder.in_contents_of(src))
to_chat(the_folder, span_warning("You can't fold [src] while you're inside of it!"))
return
for(var/obj/item/bodybag/bluespace/B in src)
to_chat(the_folder, span_warning("You can't recursively fold bluespace body bags!") )
return