Fixes rad collector ignoring access requirements for locking. (#60656)

This commit is contained in:
TemporalOroboros
2021-08-03 00:16:22 -07:00
committed by GitHub
parent 4d2d146022
commit 9bbf63c75b
@@ -111,6 +111,7 @@
else if(item.GetID())
if(!allowed(user))
to_chat(user, span_danger("Access denied."))
return TRUE
if(!active)
to_chat(user, span_warning("The controls can only be locked when \the [src] is active!"))
return TRUE