From f0084868331aca988a907da70a899c187e96f8d1 Mon Sep 17 00:00:00 2001 From: Birdtalon Date: Fri, 13 Oct 2023 21:25:51 +0100 Subject: [PATCH] makes requested zonespace changes --- .../abilities/praetorian/praetorian_powers.dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/praetorian/praetorian_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/praetorian/praetorian_powers.dm index 9a414671d118..e926349af60d 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/praetorian/praetorian_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/praetorian/praetorian_powers.dm @@ -14,8 +14,8 @@ //X = xeno user, A = target atom var/list/turf/target_turfs = getline2(source_xeno, targetted_atom, include_from_atom = FALSE) - var/len = LAZYLEN(target_turfs) - if(len > 3) + var/length_of_line = LAZYLEN(target_turfs) + if(length_of_line > 3) target_turfs = target_turfs.Copy(1, 4) // Get list of target mobs @@ -30,8 +30,8 @@ break //Check for structures such as doors - for(var/atom/path_content in path_turf.contents) - if(istype(path_content, /obj)) + for(var/atom/path_content as anything in path_turf.contents) + if(isobj(path_content)) var/obj/object = path_content //If we shouldn't be able to pass through it then stop at this turf if(object.density && !object.throwpass) @@ -44,7 +44,7 @@ framed_window.deconstruct(disassembled = FALSE) //Check for mobs and add them to our target list for damage - if(istype(path_content, /mob/living/carbon)) + if(iscarbon(path_content)) var/mob/living/carbon/mob_to_act = path_content if(!isxeno_human(mob_to_act) || source_xeno.can_not_harm(mob_to_act)) continue