rework access field access

This commit is contained in:
Kashargul
2024-09-11 20:59:57 +02:00
parent 115276e90d
commit dc8c545f65
20 changed files with 39 additions and 40 deletions
@@ -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>")