From 080abee1273eb22ee4484165a363fa44f18f0e2a Mon Sep 17 00:00:00 2001 From: Hopek Date: Wed, 5 Aug 2020 23:45:55 -0500 Subject: [PATCH] Fixes knowing encoded audio as human head when preternis is the main species in preferences --- .../living/carbon/human/species_types/preternis/preternis.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm b/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm index be01cf6ea545..bf060b30825b 100644 --- a/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm +++ b/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm @@ -42,7 +42,7 @@ adjust_charge - take a positive or negative value to adjust the charge level if(istype(BP,/obj/item/bodypart/chest) || istype(BP,/obj/item/bodypart/head)) continue BP.max_damage = 35 - C.grant_language(/datum/language/machine) //learn it once,learn it forever i guess,this isnt removed on species loss to prevent curators from forgetting machine language + C.grant_language(/datum/language/machine) /datum/species/preternis/on_species_loss(mob/living/carbon/human/C, datum/species/new_species, pref_load) . = ..() @@ -54,6 +54,8 @@ adjust_charge - take a positive or negative value to adjust the charge level C.clear_alert("preternis_emag") //this means a changeling can transform from and back to a preternis to clear the emag status but w/e i cant find a solution to not do that C.clear_fullscreen("preternis_emag") C.remove_movespeed_modifier("preternis_teslium") + if(C.job != "Curator")// if not curator, removes the encoded audio language. + C.remove_language(/datum/language/machine) /datum/species/preternis/spec_emp_act(mob/living/carbon/human/H, severity) . = ..()