Can't use door remotes on doors you can't use

This commit is contained in:
Joan Lung
2016-06-13 08:30:00 -04:00
parent 3dbd593882
commit 63998cb55d
2 changed files with 1 additions and 1 deletions

View File

@@ -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