Fixes ranged projectile aimable spells not having the correct number of bullets per cast.. (#27094)

This commit is contained in:
kevinz000
2017-05-10 09:25:02 -03:00
committed by Leo
parent 7e08c33c23
commit b658375be2
+1 -1
View File
@@ -36,7 +36,7 @@
/obj/effect/proc_holder/spell/aimed/InterceptClickOn(mob/living/caller, params, atom/target)
if(..())
return FALSE
var/ignore = (current_amount <= 0)
var/ignore = (current_amount >= 1)
if(!cast_check(ignore, ranged_ability_user))
remove_ranged_ability()
return FALSE