From 483cbf552ca292df9f1ad224f6baf2f4bc828f7c Mon Sep 17 00:00:00 2001 From: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Date: Fri, 17 Apr 2020 16:11:43 -0700 Subject: [PATCH] Fixes bolt colors being jank (#50462) Fixes bolt colors being jank, damage bolts should reset --- code/modules/power/supermatter/supermatter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm index 41b9ae3e5ad..fdd9ed56db6 100644 --- a/code/modules/power/supermatter/supermatter.dm +++ b/code/modules/power/supermatter/supermatter.dm @@ -603,7 +603,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal) var/zap_count = 0 //Deal with power zaps switch(power) - if(POWER_PENALTY_THRESHOLD to SEVERE_POWER_PENALTY_THRESHOLD) + if(0 to SEVERE_POWER_PENALTY_THRESHOLD) zap_icon = DEFAULT_ZAP_ICON_STATE zap_count = 2 if(SEVERE_POWER_PENALTY_THRESHOLD to CRITICAL_POWER_PENALTY_THRESHOLD)