Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit cded4b0

Browse files
fix
1 parent cd8f0bc commit cded4b0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

code/modules/mob/living/silicon/ai/decentralized/systech/rack_creator.dm

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,18 @@
2121
var/datum/techweb/stored_research
2222

2323
/obj/machinery/rack_creator/Initialize(mapload)
24-
. = ..()
24+
rmat = AddComponent(/datum/component/remote_materials, "rackcreator", mapload)
25+
rmat.set_local_size(200000)
26+
RefreshParts()
27+
return ..()
28+
29+
/obj/machinery/rack_creator/RefreshParts()
2530
var/obj/item/circuitboard/machine/rack_creator/rack_creator = circuit
2631
if(rack_creator.unlocked)
2732
stored_research = SSresearch.ruin_tech
2833
desc += " This one is unofficial, you shouldn't let the NT officicals see this."
2934
else
3035
stored_research = SSresearch.science_tech
31-
rmat = AddComponent(/datum/component/remote_materials, "rackcreator", mapload)
32-
rmat.set_local_size(200000)
33-
RefreshParts()
34-
35-
36-
/obj/machinery/rack_creator/RefreshParts()
3736
calculate_efficiency()
3837

3938
/obj/machinery/rack_creator/proc/calculate_efficiency()

0 commit comments

Comments
 (0)