Update carp.dm

This commit is contained in:
Trilbyspaceclone
2020-02-04 22:00:33 -05:00
committed by GitHub
parent fb2498781c
commit 4ecbd1e407
@@ -37,14 +37,12 @@
/mob/living/simple_animal/hostile/carp/adjustHealth(amount, updating_health = TRUE, forced = FALSE)
. = ..()
if(regen != TRUE)
return
else
if(regen)
regen_cooldown = world.time + REGENERATION_DELAY
/mob/living/simple_animal/hostile/carp/Life()
. = ..()
if(regen_cooldown < world.time)
if(regen && regen_cooldown < world.time)
heal_overall_damage(heal_amout)
//Space carp aren't affected by cold.