From 1bd208da8751b0926c4f96fb389296088c838501 Mon Sep 17 00:00:00 2001 From: "giacomand@gmail.com" Date: Tue, 13 Nov 2012 03:20:50 +0000 Subject: [PATCH] -Should fix anything that used to update the dialog window but doesn't now. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5051 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/machinery/machinery.dm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index c02d923571f..1a9252ab3bb 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -184,15 +184,18 @@ Class Procs: /obj/machinery/attack_paw(mob/user as mob) return src.attack_hand(user) +/obj/machinery/interact(mob/user as mob) + return src.attack_hand(user) + /obj/machinery/attack_hand(mob/user as mob) if(stat & (NOPOWER|BROKEN|MAINT)) return 1 if(user.lying || user.stat) return 1 - if ( ! (istype(usr, /mob/living/carbon/human) || \ - istype(usr, /mob/living/silicon) || \ - istype(usr, /mob/living/carbon/monkey) && ticker && ticker.mode.name == "monkey") ) - usr << "\red You don't have the dexterity to do this!" + if ( ! (istype(user, /mob/living/carbon/human) || \ + istype(user, /mob/living/silicon) || \ + istype(user, /mob/living/carbon/monkey) && ticker && ticker.mode.name == "monkey") ) + user << "\red You don't have the dexterity to do this!" return 1 /* //distance checks are made by atom/proc/DblClick