From a47693dfa79154fe8fb083db2a438d2421be4843 Mon Sep 17 00:00:00 2001 From: KasparoVy <12377767+KasparoVy@users.noreply.github.com> Date: Wed, 15 Apr 2020 17:48:54 -0400 Subject: [PATCH] Fixes Hacking of NIFSoft Vendor Hacking the NIFSoft vendor by pulsing the ID scan wire now behaves like other vendors, allowing you to unlock ID restriction on the various NIFSofts. Issue & solution documented in #1761 --- 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 2af77f43ad..f2fdc4aaae 100644 --- a/code/modules/nifsoft/nif_softshop.dm +++ b/code/modules/nifsoft/nif_softshop.dm @@ -139,7 +139,7 @@ if(initial(path.access)) var/list/soft_access = list(initial(path.access)) var/list/usr_access = usr.GetAccess() - if(!has_access(soft_access, list(), usr_access) && !emagged) + if(scan_id && !has_access(soft_access, list(), usr_access) && !emagged) to_chat(usr, "You aren't authorized to buy [initial(path.name)].") flick("[icon_state]-deny",entopic.my_image) return