diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm index e56dbe71e86..87b8375bbb4 100644 --- a/code/game/mecha/mech_fabricator.dm +++ b/code/game/mecha/mech_fabricator.dm @@ -826,7 +826,7 @@ src.overlays += "fab-load-[material]"//loading animation is now an overlay based on material type. No more spontaneous conversion of all ores to metal. -vey sleep(10) - while(src.resources[material] < res_max_amount && stack) + while(src.resources[material] < res_max_amount && stack.amount >= 1) src.resources[material] += amnt stack.use(1) count++