Update code/datums/spell.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
Sirryan2002
2021-03-30 16:08:19 -04:00
committed by GitHub
co-authored by SteelSlayer
parent 97f56a1c65
commit e37825f99a
+1 -1
View File
@@ -470,7 +470,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
/obj/effect/proc_holder/spell/targeted/click/InterceptClickOn(mob/living/user, params, atom/A)
if(..() || !cast_check(TRUE, TRUE, user))
remove_ranged_ability(user)
if (!is_casting)
if(!is_casting)
revert_cast(user)
return TRUE