mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Species inherent spells now get properly removed when changing away from that species. (#9821)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user