From 33f39eccce7bd5eafe2702388965824dfd065104 Mon Sep 17 00:00:00 2001 From: KasparoVy <12377767+KasparoVy@users.noreply.github.com> Date: Sat, 18 Apr 2020 16:25:47 -0400 Subject: [PATCH] Fixes Emaggery You can re-emag the vendor if either the access || contraband restrictions were fixed. --- code/modules/nifsoft/nif_softshop.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/nifsoft/nif_softshop.dm b/code/modules/nifsoft/nif_softshop.dm index 0cb307fb306..3bb661678bc 100644 --- a/code/modules/nifsoft/nif_softshop.dm +++ b/code/modules/nifsoft/nif_softshop.dm @@ -234,7 +234,7 @@ return /obj/machinery/vending/nifsoft_shop/emag_act(remaining_charges, mob/user) //Yeees, YEEES! Give me that black market tech. - if(!emagged) + if(!emagged || !(categories & CAT_HIDDEN)) emagged = 1 categories |= CAT_HIDDEN to_chat(user, "You short out [src]'s access lock & stock restrictions.")