From e528c9168ad8f60a98bc8bd3cc93e9ad76a2bfc8 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Thu, 11 Sep 2025 02:25:31 -0700 Subject: [PATCH] [MIRROR] Fracking list runtime fix (#11621) Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> --- code/modules/reagents/machinery/pump.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/machinery/pump.dm b/code/modules/reagents/machinery/pump.dm index f7bd8524d7..8968cc548d 100644 --- a/code/modules/reagents/machinery/pump.dm +++ b/code/modules/reagents/machinery/pump.dm @@ -224,10 +224,10 @@ R.add_reagent(M.mineral.reagent, rand(0,volume / 8)) // Pump deep reagents from deepdrill boreholes for(var/metal in GLOB.deepore_fracking_reagents) - if(!M.resources[metal]) + if(!LAZYACCESS(M.resources,metal)) continue var/list/ore_list = GLOB.deepore_fracking_reagents[metal] - if(!ore_list || !ore_list.len) + if(!LAZYLEN(ore_list)) continue var/reagent_id = pick(ore_list) if(reagent_id && prob(60))