mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 12:05:28 +01:00
more fields
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
var/obj/item/weapon/card/id/ourid = user?.GetIdCard()
|
||||
if(!ourid)
|
||||
return
|
||||
if(access_change_ids in ourid.access)
|
||||
if(access_change_ids in ourid.GetAccess())
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, 0)
|
||||
return
|
||||
if(access_medical in ourid.access)
|
||||
if(access_medical in ourid.GetAccess())
|
||||
playsound(src, 'sound/effects/pop.ogg', 50, FALSE)
|
||||
else
|
||||
playsound(src, 'sound/machines/defib_failed.ogg', 50, 0)
|
||||
|
||||
Reference in New Issue
Block a user