mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Can't use door remotes on doors you can't use
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
if(!D.requiresID())
|
||||
user << "<span class='danger'>[D]'s ID scan is disabled!</span>"
|
||||
return
|
||||
if(D.check_access(src.ID))
|
||||
if(D.check_access(ID) && D.allowed(user))
|
||||
switch(mode)
|
||||
if(WAND_OPEN)
|
||||
if(D.density)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Reference in New Issue
Block a user