Skip to content

Commit

Permalink
[MIRROR] allows for single-step crafting recipes to actually make the…
Browse files Browse the repository at this point in the history
…ir product
  • Loading branch information
Merlin1230 authored and SierraHelper committed Nov 1, 2024
1 parent 15848fe commit fff19f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/controllers/subsystems/initialization/fabrication.dm
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,7 @@ SUBSYSTEM_DEF(fabrication)
if (stage.can_begin_with(target) && stage.is_appropriate_tool(tool))
var/obj/item/crafting_holder/crafting = new (turf, stage, target, tool, user)
if (stage.progress_to(tool, user, crafting))
if (!length(stage.next_stages))
crafting.advance_to(stage, user, tool)
return crafting
qdel(crafting)

0 comments on commit fff19f6

Please sign in to comment.