mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
admins can use shuttle computers, silicons cant
This commit is contained in:
@@ -52,13 +52,6 @@
|
||||
|
||||
return "[span_s][name][span_e]"
|
||||
|
||||
/obj/machinery/computer/shuttle_control/attack_ai(mob/user as mob)
|
||||
src.add_hiddenprint(user)
|
||||
if(allow_silicons)
|
||||
return attack_hand(user)
|
||||
else
|
||||
user << "<span class='notice'>There seems to be a firewall preventing you from accessing this device.</span>"
|
||||
|
||||
/obj/machinery/computer/shuttle_control/attack_hand(mob/user as mob)
|
||||
if(..(user))
|
||||
return
|
||||
@@ -133,6 +126,10 @@
|
||||
/obj/machinery/computer/shuttle_control/Topic(href, href_list)
|
||||
if(..())
|
||||
return
|
||||
if(issilicon(usr) && !allow_silicons)
|
||||
usr << "<span class='notice'>There seems to be a firewall preventing you from accessing this device.</span>"
|
||||
return
|
||||
|
||||
usr.set_machine(src)
|
||||
src.add_fingerprint(usr)
|
||||
if(href_list["move"])
|
||||
|
||||
Reference in New Issue
Block a user