Fix holodeck ready device and ghosts accessing tray lights

This commit is contained in:
Markolie
2016-10-17 17:43:03 +02:00
parent e034f63e8d
commit 8bd79007ef
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -380,10 +380,12 @@
//--FalseIncarnate
/obj/machinery/portable_atmospherics/hydroponics/verb/remove_label()
set name = "Remove Label"
set category = "Object"
set src in view(1)
if(usr.stat || usr.restrained())
return
if(labelled)
to_chat(usr, "You remove the label.")
@@ -397,6 +399,9 @@
set name = "Set Light"
set category = "Object"
set src in view(1)
if(usr.stat || usr.restrained())
return
var/new_light = input("Specify a light level.") as null|anything in list(0,1,2,3,4,5,6,7,8,9,10)
if(new_light)