diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 0bc9dfdd507..22748d5a0f1 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -1169,7 +1169,7 @@ About the new airlock wires panel: return src.add_fingerprint(user) - if((istype(C, /obj/item/weapon/weldingtool) && !( src.operating ) && src.density)) + if((istype(C, /obj/item/weapon/weldingtool) && !( src.operating > 0 ) && src.density)) var/obj/item/weapon/weldingtool/W = C if(W.remove_fuel(0,user)) if(!src.welded) @@ -1245,6 +1245,7 @@ About the new airlock wires panel: ae.loc = src.loc if(operating == -1) ae.icon_state = "door_electronics_smoked" + operating = 0 del(src) return diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 465af474e69..9ac8ad6c7f4 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -219,7 +219,7 @@ /obj/machinery/door/proc/close() if(density) return 1 - if(operating) return + if(operating > 0) return operating = 1 animate("closing") diff --git a/code/game/objects/items/devices/debugger.dm b/code/game/objects/items/devices/debugger.dm index d90edfa1ba5..0b1d8c38115 100644 --- a/code/game/objects/items/devices/debugger.dm +++ b/code/game/objects/items/devices/debugger.dm @@ -5,9 +5,10 @@ */ /obj/item/device/debugger - name = "multitool" - desc = "Used for pulsing wires to test which to cut. Not recommended by doctors." - icon_state = "multitool" + icon = 'icon/obj/hacktool.dmi' + name = "debugger" + desc = "Used to debug electronic equipment." + icon_state = "hacktool-g" flags = FPRINT | TABLEPASS| CONDUCT force = 5.0 w_class = 2.0 @@ -24,21 +25,21 @@ if(istype(O, /obj/machinery/power/apc)) var/obj/machinery/power/apc/A = O if(A.emagged || A.malfhack) - usr << "\red There is a software error with the device." + user << "\red There is a software error with the device." else - usr << "\blue The device's software appears to be fine." + user << "\blue The device's software appears to be fine." return 1 if(istype(O, /obj/machinery/door)) var/obj/machinery/door/D = O if(D.operating == -1) - usr << "\red There is a software error with the device." + user << "\red There is a software error with the device." else - usr << "\blue The device's software appears to be fine." + user << "\blue The device's software appears to be fine." return 1 else if(istype(O, /obj/machinery)) var/obj/machinery/A = O if(A.emagged) - usr << "\red There is a software error with the device." + user << "\red There is a software error with the device." else - usr << "\blue The device's software appears to be fine." + user << "\blue The device's software appears to be fine." return 1 \ No newline at end of file