diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm index 217f870597..b491a923f8 100644 --- a/code/game/objects/structures/girders.dm +++ b/code/game/objects/structures/girders.dm @@ -53,8 +53,8 @@ if(applies_material_colour) color = girder_material.icon_colour if(girder_material.products_need_process()) //Am I radioactive or some other? Process me! - START_PROCESSING(SSobj, src) - else if(src in processing_objects) //If I happened to be radioactive or s.o. previously, and am not now, stop processing. + START_PROCESSING(SSobj, src) + else if(is_processing) //If I happened to be radioactive or s.o. previously, and am not now, stop processing. STOP_PROCESSING(SSobj, src) /obj/structure/girder/get_material() diff --git a/code/modules/xenoarcheaology/tools/tools.dm b/code/modules/xenoarcheaology/tools/tools.dm index 4f764b1412..00eb61b79b 100644 --- a/code/modules/xenoarcheaology/tools/tools.dm +++ b/code/modules/xenoarcheaology/tools/tools.dm @@ -254,7 +254,7 @@ if(prob(scan_ticks * 10)) spawn(0) set background = 1 - if(processing_objects.Find(src)) + if(is_processing) //scan radios in the world to try and find one var/cur_dist = 999 for(var/obj/item/device/radio/beacon/R in all_beacons)