Species inherent spells now get properly removed when changing away from that species. (#9821)

This commit is contained in:
mikomyazaki
2020-08-29 20:27:54 +02:00
committed by GitHub
parent 4bdc1aa8ed
commit 8492e325c0
2 changed files with 10 additions and 1 deletions
@@ -394,7 +394,9 @@
if(inherent_spells)
for(var/spell_path in inherent_spells)
H.remove_spell(spell_path)
for(var/spell/spell in H.spell_list)
if(istype(spell, spell_path))
H.remove_spell(spell)
return
/datum/species/proc/add_inherent_verbs(var/mob/living/carbon/human/H)