From 750e50aee35f21afce4a97d24dde2182fb9481ae Mon Sep 17 00:00:00 2001 From: MrDoomBringer Date: Tue, 7 Jul 2020 09:34:33 -0400 Subject: [PATCH] fixes rubble a bit --- code/modules/cargo/supplypod.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/modules/cargo/supplypod.dm b/code/modules/cargo/supplypod.dm index dc566c3114e..220a7c461c4 100644 --- a/code/modules/cargo/supplypod.dm +++ b/code/modules/cargo/supplypod.dm @@ -269,6 +269,7 @@ if (reversing) //If we're reversing, we call the close proc. This sends the pod back up to centcom close(holder) else if (bluespace) //If we're a bluespace pod, then delete ourselves (along with our holder, if a seperate holder exists) + deleteRubble() if (!effectQuiet && style != STYLE_INVISIBLE && style != STYLE_SEETHROUGH) do_sparks(5, TRUE, holder) //Create some sparks right before closing qdel(src) //Delete ourselves and the holder @@ -355,8 +356,7 @@ update_icon() /obj/structure/closet/supplypod/Moved() - if (rubble) - deleteRubble() + deleteRubble() return ..() /obj/structure/closet/supplypod/proc/deleteRubble() @@ -379,9 +379,8 @@ glow_effect.fadeAway(openingDelay) /obj/structure/closet/supplypod/Destroy() + deleteRubble() open_pod(src, broken = TRUE) //Lets dump our contents by opening up - if (rubble) - deleteRubble() return ..() //------------------------------------TEMPORARY_VISUAL-------------------------------------//