mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 00:54:16 +01:00
rework access field access
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
to_chat(user, "<span class='notice'>\The [computer] flashes an \"RFID Error - Unable to scan ID\" warning.</span>")
|
||||
return 0
|
||||
|
||||
if(access_to_check in I.access)
|
||||
if(access_to_check in I.GetAccess())
|
||||
return 1
|
||||
else if(loud)
|
||||
to_chat(user, "<span class='notice'>\The [computer] flashes an \"Access Denied\" warning.</span>")
|
||||
|
||||
Reference in New Issue
Block a user