Merge pull request #3751 from Mechoid/Tyranny_Of_The_Cable

Fixes 'The data cable retracts rapidly into its spool.' times a billion.
This commit is contained in:
Anewbe
2017-08-29 17:26:42 -04:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -388,6 +388,10 @@
var/obj/machinery/machine
/obj/item/weapon/pai_cable/Destroy()
machine = null
return ..()
///////////////////////////////////////Stock Parts /////////////////////////////////
/obj/item/weapon/storage/part_replacer
@@ -9,6 +9,7 @@
for (var/mob/M in viewers(T))
M.show_message("<font color='red'>The data cable rapidly retracts back into its spool.</font>", 3, "<font color='red'>You hear a click and the sound of wire spooling rapidly.</font>", 2)
qdel(src.cable)
src.cable = null
handle_regular_hud_updates()