Lockers dump their contents if molten by alien acid

This commit is contained in:
PatchouliKnowledge
2015-08-07 03:28:00 +03:00
parent cf5c2dc34d
commit f6abc54eb8
+5
View File
@@ -476,6 +476,11 @@
if(ticks >= target_strength)
target.visible_message("<span class='warning'>[target] collapses under its own weight into a puddle of goop and undigested debris!</span>")
if(istype(target, /obj/structure/closet))
var/obj/structure/closet/T = target
T.dump_contents()
qdel(target)
if(istype(target, /turf/simulated/wall))
var/turf/simulated/wall/W = target
W.dismantle_wall(1)