mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Replace ID/PDA/Wallet checks with GetID() (#10204)
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
to_chat(user, SPAN_WARNING("\The [src] is not compatible with \the [W]."))
|
||||
return
|
||||
|
||||
else if (istype(W, /obj/item/card/id) || istype(W, /obj/item/device/pda))
|
||||
else if (W.GetID())
|
||||
if(!allowed(user))
|
||||
to_chat(user, SPAN_WARNING("Access denied."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user