diff --git a/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm b/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm index a86233294e0..05bc607668b 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm @@ -241,8 +241,10 @@ Doesn't work on other aliens/AI.*/ user << "There is already a resin structure there." return 0 var/choice = input("Choose what you wish to shape.","Resin building") as null|anything in structures - if(!choice) return 0 - + if(!choice) + return 0 + if (!cost_check(check_turf,user)) + return 0 user << "You shape a [choice]." user.visible_message("[user] vomits up a thick purple substance and begins to shape it.") @@ -331,4 +333,4 @@ Doesn't work on other aliens/AI.*/ /proc/cmp_abilities_cost(obj/effect/proc_holder/alien/a, obj/effect/proc_holder/alien/b) - return b.plasma_cost - a.plasma_cost \ No newline at end of file + return b.plasma_cost - a.plasma_cost