From 5ef4e13d83c6325cd4abf2507c09a76ecdb5f4ce Mon Sep 17 00:00:00 2001 From: Anorak2024 Date: Tue, 8 Oct 2024 20:45:03 +0300 Subject: [PATCH] fix --- code/modules/power/lighting.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index c574db5e22e..268fbd13333 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -442,7 +442,7 @@ /obj/machinery/light/attackby(obj/item/I, mob/living/user, params) if(user.a_intent == INTENT_HARM) - if(light_hit_check(I, user)) + if(!light_hit_check(I, user)) return ATTACK_CHAIN_BLOCKED_ALL return ..() @@ -482,7 +482,7 @@ explode() return ATTACK_CHAIN_BLOCKED_ALL - if(light_hit_check(I, user)) + if(!light_hit_check(I, user)) return ATTACK_CHAIN_BLOCKED_ALL return ..()