Nanites port from /tg/station, original coder XDTM

This commit is contained in:
kevinz000
2018-08-23 01:16:32 -07:00
parent 071429a4d2
commit b99556c70f
107 changed files with 5805 additions and 3792 deletions
+4 -1
View File
@@ -180,7 +180,7 @@
break
if(component_check)
P.play_tool_sound(src)
var/obj/machinery/new_machine = new circuit.build_path(loc, 1)
var/obj/machinery/new_machine = new circuit.build_path(loc)
new_machine.setAnchored(anchored)
new_machine.on_construction()
for(var/obj/O in new_machine.component_parts)
@@ -189,6 +189,9 @@
for(var/obj/O in src)
O.moveToNullspace()
new_machine.component_parts += O
if(new_machine.circuit)
QDEL_NULL(new_machine.circuit)
new_machine.circuit = circuit
circuit.moveToNullspace()
new_machine.RefreshParts()
qdel(src)