mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user