From 75550c3f8c1a8950bd8fae2b4e72333f2e523221 Mon Sep 17 00:00:00 2001 From: matttheficus <57759731+matttheficus@users.noreply.github.com> Date: Tue, 19 Oct 2021 05:45:49 -0400 Subject: [PATCH] runtimes bad (#16972) --- code/modules/station_goals/dna_vault.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm index 53606f2e39b..8dcc438ab00 100644 --- a/code/modules/station_goals/dna_vault.dm +++ b/code/modules/station_goals/dna_vault.dm @@ -264,8 +264,9 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m switch(action) if("gene") - upgrade(usr, params["choice"]) - return TRUE + if(isliving(usr)) + upgrade(usr, params["choice"]) + return TRUE /obj/machinery/dna_vault/proc/check_goal() if(plants.len >= plants_max && animals.len >= animals_max && dna.len >= dna_max)