From 6988cc5c91ba2eeafdc67e6f89cb2ae181d47a3b Mon Sep 17 00:00:00 2001 From: Birdtalon Date: Mon, 27 Nov 2023 22:27:21 +0000 Subject: [PATCH] harry's changes --- code/modules/mob/living/carbon/xenomorph/Xenomorph.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/Xenomorph.dm b/code/modules/mob/living/carbon/xenomorph/Xenomorph.dm index eda775db9b53..645ade04ea4f 100644 --- a/code/modules/mob/living/carbon/xenomorph/Xenomorph.dm +++ b/code/modules/mob/living/carbon/xenomorph/Xenomorph.dm @@ -371,7 +371,7 @@ src.life_damage_taken_total = old_xeno.life_damage_taken_total src.evolution_stored = old_xeno.evolution_stored - for(var/datum/language/language in old_xeno.languages) + for(var/datum/language/language as anything in old_xeno.languages) add_language(language.name)//Make sure to keep languages (mostly for event Queens that know English) //Carry over intents & targeted limb to the new Xeno @@ -381,9 +381,8 @@ //We are hiding, let's keep hiding if we can! if(old_xeno.layer == XENO_HIDING_LAYER) for(var/datum/action/xeno_action/onclick/xenohide/hide in actions) - if(istype(hide)) - layer = XENO_HIDING_LAYER - hide.button.icon_state = "template_active" + layer = XENO_HIDING_LAYER + hide.button.icon_state = "template_active" //If we're holding things drop them for(var/obj/item/item in old_xeno.contents) //Drop stuff