Fixes consoles

This commit is contained in:
kevinz000
2018-03-24 11:40:31 -07:00
parent 78bfbbdd09
commit f56e88967f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -34,11 +34,11 @@
else
return ..()
/obj/machinery/computer/med_data/interact(mob/user)
/obj/machinery/computer/med_data/ui_interact(mob/user)
. = ..()
var/dat
if(src.temp)
dat = text("<TT>[src.temp]</TT><BR><BR><A href='?src=[REF(src)];temp=1'>Clear Screen</A>")
if(temp)
dat = text("<TT>[temp]</TT><BR><BR><A href='?src=[REF(src)];temp=1'>Clear Screen</A>")
else
dat = text("Confirm Identity: <A href='?src=[REF(src)];scan=1'>[]</A><HR>", (src.scan ? text("[]", src.scan.name) : "----------"))
if(src.authenticated)
@@ -50,7 +50,7 @@
/obj/machinery/rnd/production/attack_hand(mob/user)
interact(user) //remove this snowflake shit when the refactor of storage components or some other pr that unsnowflakes attack_hand on machinery is in
/obj/machinery/rnd/production/interact(mob/user)
/obj/machinery/rnd/production/ui_interact(mob/user)
if(!consoleless_interface)
return ..()
user.set_machine(src)