From 4946dabfadce4f86c2c2256adfb1dc28d9bed5a5 Mon Sep 17 00:00:00 2001 From: Looks-to-the-Moon <84770128+Looks-to-the-Moon@users.noreply.github.com> Date: Sun, 5 Jun 2022 14:55:40 -0500 Subject: [PATCH] Xenomorph evolve runtime fix (#67504) Fixes xenomorph larva runtiming and displaying unnecessary messages when hitting cancel on evolution tgui --- code/modules/mob/living/carbon/alien/larva/powers.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/alien/larva/powers.dm b/code/modules/mob/living/carbon/alien/larva/powers.dm index 4b6774a7dd5..9f270e49726 100644 --- a/code/modules/mob/living/carbon/alien/larva/powers.dm +++ b/code/modules/mob/living/carbon/alien/larva/powers.dm @@ -54,6 +54,9 @@ if(user.incapacitated()) //something happened to us while we were choosing. return + if(alien_caste == null) + return + var/mob/living/carbon/alien/humanoid/new_xeno switch(alien_caste) if("Hunter")