Fixed issue 352

- Hacking wallsafes/briefcases is now properly interruptible.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3053 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2012-02-07 23:33:52 +00:00
parent 64a0a884ee
commit d3643b021f
+2 -1
View File
@@ -122,7 +122,7 @@
if ((istype(W, /obj/item/device/multitool)) && (src.open == 1) && (src.locked ==1) && (!src.l_hacking))
user.show_message(text("\red Now attempting to reset internal memory, please hold."), 1)
src.l_hacking = 1
spawn(100)
if (do_after(usr, 100))
if (prob(40))
src.l_setshort = 1
src.l_set = 0
@@ -133,6 +133,7 @@
else
user.show_message(text("\red Unable to reset internal memory."), 1)
src.l_hacking = 0
else src.l_hacking = 0
return
if (src.contents.len >= 7)
return