Merge pull request #6113 from Citadel-Station-13/upstream-merge-36695

[MIRROR] Fixes consoles
This commit is contained in:
deathride58
2018-03-27 17:45:35 +00:00
committed by GitHub
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -34,12 +34,11 @@
else
return ..()
/obj/machinery/computer/med_data/attack_hand(mob/user)
if(..())
return
/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)