From 49e6f1e3e504aab50275c7437b56cd324be7bbcd Mon Sep 17 00:00:00 2001 From: ghostsheet Date: Thu, 22 Jun 2023 16:37:51 +1000 Subject: [PATCH] gunlight fix --- code/modules/projectiles/gun_helpers.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/projectiles/gun_helpers.dm b/code/modules/projectiles/gun_helpers.dm index 2cfd827b1fc2..73f6d07d77f0 100644 --- a/code/modules/projectiles/gun_helpers.dm +++ b/code/modules/projectiles/gun_helpers.dm @@ -168,7 +168,8 @@ As sniper rifles have both and weapon mods can change them as well. ..() deals w if (!attachment || !attachment.light_mod) continue - attachment.activate_attachment(src, bearer) + bearer.SetLuminosity(0, FALSE, src) + attachment.activate_attachment(src, bearer, TRUE) return TRUE return FALSE