[MIRROR] Fixes ancient goliathes tentacle attack continuing after death (#5285)

* Fixes ancient goliathes tentacle attack (#35243)

* Fixes ancient goliathes tentacle attack continuing after death
This commit is contained in:
CitadelStationBot
2018-02-04 23:18:51 -06:00
committed by Poojawa
parent 23085154ab
commit 7b7674d0ef
@@ -119,6 +119,8 @@
/mob/living/simple_animal/hostile/asteroid/goliath/beast/ancient/Life()
. = ..()
if(!.) // dead
return
if(isturf(loc))
if(!LAZYLEN(cached_tentacle_turfs) || loc != last_location || tentacle_recheck_cooldown <= world.time)
LAZYCLEARLIST(cached_tentacle_turfs)