From aa2afd00392a68cc038018170b4277e0588385e7 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sun, 26 Apr 2026 20:13:14 -0400 Subject: [PATCH] Revert "Materials And Stack Harddel" (#22364) Reverts Aurorastation/Aurora.3#22313 Somehow made a race condition that causes the protolathe to delete stacks if and only if the stack would have been "finished" by fully placing the stack in the protolathe. --- code/game/objects/items/stacks/stack.dm | 4 ---- code/modules/materials/material_sheets.dm | 4 ---- 2 files changed, 8 deletions(-) diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index 1bfa790961d..ddb24daf839 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -62,10 +62,6 @@ if (src && usr && usr.machine == src) usr << browse(null, "window=stack") usr.unset_machine() - - recipes = null - build_type = null - synths = null return ..() /obj/item/stack/update_icon() diff --git a/code/modules/materials/material_sheets.dm b/code/modules/materials/material_sheets.dm index bcc79ef52d4..847730f016f 100644 --- a/code/modules/materials/material_sheets.dm +++ b/code/modules/materials/material_sheets.dm @@ -50,10 +50,6 @@ matter = material.get_matter() -/obj/item/stack/material/Destroy() - material = null - return ..() - /obj/item/stack/material/get_material() return material