Add a warning line to the supply computer about access.

This commit is contained in:
lbnesquik
2020-08-25 21:32:19 +02:00
parent f394b1ec47
commit c49b026164

View File

@@ -34,6 +34,7 @@
if(..())
return
if(!allowed(user))
to_chat(user, "<span class='warning'>You don't have the required access to use this console..</span>")
return
user.set_machine(src)
ui_interact(user)