From 78dcc88c451c4e8ac1f0bb39a323b27bb022a075 Mon Sep 17 00:00:00 2001 From: TorinoFermic <36856516+TorinoFermic@users.noreply.github.com> Date: Sun, 16 Feb 2020 16:22:54 -0500 Subject: [PATCH] Mechs will really lose their cell when rigged (#4610) --- code/modules/power/cell.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/power/cell.dm b/code/modules/power/cell.dm index 617aced5ce..c79bd5e0e2 100644 --- a/code/modules/power/cell.dm +++ b/code/modules/power/cell.dm @@ -176,10 +176,10 @@ log_admin("LOG: Rigged power cell explosion, last touched by [fingerprintslast]") message_admins("LOG: Rigged power cell explosion, last touched by [fingerprintslast]") - explosion(T, devastation_range, heavy_impact_range, light_impact_range, flash_range) - qdel(src) + explosion(T, devastation_range, heavy_impact_range, light_impact_range, flash_range) + /obj/item/weapon/cell/proc/corrupt() charge /= 2 maxcharge /= 2