From 24b5007e1a17d998bc83ffec396d4ca8822aaf76 Mon Sep 17 00:00:00 2001 From: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Date: Fri, 24 Apr 2026 09:38:26 -0400 Subject: [PATCH] Fixes looming (#95848) --- code/datums/elements/loomable.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/elements/loomable.dm b/code/datums/elements/loomable.dm index ca32bde165b..f9b79085517 100644 --- a/code/datums/elements/loomable.dm +++ b/code/datums/elements/loomable.dm @@ -101,7 +101,7 @@ if (ispath(resulting_atom, /obj/item/stack)) var/obj/item/stack/stack_type = resulting_atom while (spawning_amount > 0) - new_thing = new resulting_atom(target.drop_location(), new_amount = min(spawning_amount, stack_type::max_amount)) + new_thing = new resulting_atom(target.drop_location(), min(spawning_amount, stack_type::max_amount)) spawning_amount -= stack_type::max_amount else for(var/repeated in 1 to spawning_amount)