diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm index a71a7f271ec9..fbf7d993a067 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm @@ -45,10 +45,10 @@ to_chat(xeno, SPAN_WARNING("These weeds are too strong to plant a node on!")) return - var/obj/structure/window_frame/window = locate() in turf - if(window && window.density) - to_chat(xeno, SPAN_WARNING("You can't do that here.")) - return + for(var/obj/structure/struct in turf) + if(struct.density && !(struct.flags_atom & ON_BORDER)) // Not sure exactly if we need to test against ON_BORDER though + to_chat(xeno, SPAN_WARNING("You can't do that here.")) + return var/area/area = get_area(turf) if(isnull(area) || !(area.is_resin_allowed))