From 3559d903402a32d7f1fe75d89edf6a7dc5f91057 Mon Sep 17 00:00:00 2001 From: Iajret <8430839+Iajret@users.noreply.github.com> Date: Fri, 10 Oct 2025 04:58:38 +0300 Subject: [PATCH] Fix MOD NVG (non-visor variant) (#93343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Someone mixed `ADD_TRAIT` and `add_traits` in their head. изображение ## Why It's Good For The Game bug bad, runtime bad, working nukie suits gud closes https://github.com/tgstation/tgstation/issues/93216 ## Changelog :cl: fix: fixed not working MOD suit NVGs /:cl: --- code/modules/mod/modules/modules_visor.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mod/modules/modules_visor.dm b/code/modules/mod/modules/modules_visor.dm index c865cc3e670..443db90c51c 100644 --- a/code/modules/mod/modules/modules_visor.dm +++ b/code/modules/mod/modules/modules_visor.dm @@ -92,9 +92,9 @@ required_slots = list(ITEM_SLOT_HEAD|ITEM_SLOT_EYES|ITEM_SLOT_MASK) /obj/item/mod/module/night/on_activation(mob/activator) - mod.wearer.add_traits(mod.wearer, TRAIT_TRUE_NIGHT_VISION, REF(src)) + ADD_TRAIT(mod.wearer, TRAIT_TRUE_NIGHT_VISION, REF(src)) mod.wearer.update_sight() /obj/item/mod/module/night/on_deactivation(mob/activator, display_message = TRUE, deleting = FALSE) - mod.wearer.remove_traits(mod.wearer, TRAIT_TRUE_NIGHT_VISION, REF(src)) + REMOVE_TRAIT(mod.wearer, TRAIT_TRUE_NIGHT_VISION, REF(src)) mod.wearer.update_sight()