diff --git a/code/datums/wires/autolathe.dm b/code/datums/wires/autolathe.dm index e382ce620f1..77a8ce6c03c 100644 --- a/code/datums/wires/autolathe.dm +++ b/code/datums/wires/autolathe.dm @@ -27,7 +27,7 @@ var/const/AUTOLATHE_DISABLE_WIRE = 4 var/obj/machinery/autolathe/A = holder switch(index) if(AUTOLATHE_HACK_WIRE) - A.hacked = !mended + A.adjust_hacked(!mended) if(AUTOLATHE_SHOCK_WIRE) A.shocked = !mended if(AUTOLATHE_DISABLE_WIRE) @@ -39,10 +39,10 @@ var/const/AUTOLATHE_DISABLE_WIRE = 4 var/obj/machinery/autolathe/A = holder switch(index) if(AUTOLATHE_HACK_WIRE) - A.hacked = !A.hacked + A.adjust_hacked(!A.hacked) spawn(50) if(A && !IsIndexCut(index)) - A.hacked = 0 + A.adjust_hacked(0) Interact(usr) if(AUTOLATHE_SHOCK_WIRE) A.shocked = !A.shocked