From f624ce5fd40f8ab797b2161f5d596030ffd561f3 Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Mon, 18 May 2020 13:49:42 +0200 Subject: [PATCH] Update species.dm (#12295) --- code/modules/mob/living/carbon/human/species.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index f2f62fc2d9..a1de0bf532 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -384,7 +384,7 @@ GLOBAL_LIST_EMPTY(roundstart_race_names) C.dna.mutation_index[new_species.inert_mutation] = create_sequence(new_species.inert_mutation) if(!new_species.has_field_of_vision && has_field_of_vision && ishuman(C) && CONFIG_GET(flag/use_field_of_vision)) - var/datum/component/field_of_vision/F = GetComponent(/datum/component/field_of_vision) + var/datum/component/field_of_vision/F = C.GetComponent(/datum/component/field_of_vision) if(F) qdel(F)