brainloss check for topic and autolathe hack designs fix

This commit is contained in:
Jordie0608
2015-05-30 21:24:23 +10:00
parent 6b524f09a9
commit fc5149dbc3
2 changed files with 17 additions and 13 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ var/const/AUTOLATHE_DISABLE_WIRE = 4
var/obj/machinery/autolathe/A = holder
switch(index)
if(AUTOLATHE_HACK_WIRE)
A.adjust_hacked(!mended)
if(!A.hacked)
A.adjust_hacked(1)
if(AUTOLATHE_SHOCK_WIRE)
A.shocked = !mended
if(AUTOLATHE_DISABLE_WIRE)