From d975722656a6444e3d167ff9e1869c68b3fc4708 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sun, 14 Oct 2018 20:16:30 -0700 Subject: [PATCH] manual replace --- code/game/objects/structures/girders.dm | 4 ++-- code/modules/xenoarcheaology/tools/tools.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)