removes remaining references
This commit is contained in:
@@ -13,14 +13,9 @@
|
||||
"on read" = IC_PINTYPE_PULSE_OUT
|
||||
)
|
||||
|
||||
/obj/item/integrated_circuit/input/card_reader/Initialize()
|
||||
cipherkey = uppertext(random_string(2000+rand(0,10), GLOB.alphabet)) // the same way SScircuit.cipherkey is generated
|
||||
..()
|
||||
|
||||
/obj/item/integrated_circuit/input/card_reader/attackby_react(obj/item/I, mob/living/user, intent)
|
||||
var/obj/item/card/id/card = I.GetID()
|
||||
var/list/access = I.GetAccess()
|
||||
var/passkey = strtohex(XorEncrypt(json_encode(access), cipherkey))
|
||||
|
||||
if(assembly)
|
||||
assembly.access_card.access |= access
|
||||
|
||||
Reference in New Issue
Block a user