[MIRROR] Fixes Several Holodeck Infinite Materials Exploits (#3057)

* Fixes Several Holodeck Infinite Materials Exploits (#56587)

* Fixes Several Holodeck Infinite Materials Exploits

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
SkyratBot
2021-02-04 00:14:40 +00:00
committed by GitHub
co-authored by Kylerace
parent 7499bd162a
commit dcb4dede41
5 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -101,7 +101,8 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an
return ..()
/obj/structure/bodycontainer/deconstruct(disassembled = TRUE)
new /obj/item/stack/sheet/metal (loc, 5)
if (!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal (loc, 5)
recursive_organ_check(src)
qdel(src)