This commit is contained in:
Lin
2020-05-13 22:22:57 +00:00
committed by GitHub
parent 899c5a4575
commit 0d92783a91
@@ -22,9 +22,9 @@ Doesn't work on other aliens/AI.*/
action = new(src)
/obj/effect/proc_holder/alien/Trigger(mob/living/carbon/user, skip_cost_check = FALSE)
if(!skip_cost_check || !istype(user))
if(!istype(user))
return TRUE
if(cost_check(check_turf,user))
if(skip_cost_check || cost_check(check_turf,user))
if(fire(user) && user) // Second check to prevent runtimes when evolving
user.adjustPlasma(-plasma_cost)
return TRUE