diff --git a/code/modules/spells/spell.dm b/code/modules/spells/spell.dm index 9452722183..1799a61406 100644 --- a/code/modules/spells/spell.dm +++ b/code/modules/spells/spell.dm @@ -436,14 +436,11 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th if(magic_flags & SPELL_SKIP_ALL_REQS) return TRUE - if(player_lock && (!user.mind || !(src in user.mind.spell_list))) + if(player_lock && (!user.mind || !(src in user.mind.spell_list) && !(src in user.mob_spell_list))) if(!silent) to_chat(user, "You shouldn't have this spell! Something's wrong.") return FALSE - if(!(src in user.mob_spell_list)) - return FALSE - if(!centcom_cancast && !(magic_flags & SPELL_SKIP_CENTCOM)) //Certain spells are not allowed on the centcom zlevel var/turf/T = get_turf(user) if(is_centcom_level(T.z))