[FIX] Goliath no longer seems to come to live from mining grenades (#27309)

* Goliath no longer pretends to be alive

* Update code/modules/mod/modules/modules_supply.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: Chap <erwin@lombok.demon.nl>

---------

Signed-off-by: Chap <erwin@lombok.demon.nl>
Co-authored-by: Adrer <adrermail@gmail.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
Chap
2024-11-11 16:09:51 +01:00
committed by GitHub
parent 516ada30e6
commit 1db9e86083
+1 -1
View File
@@ -550,7 +550,7 @@
mineral_turf.gets_drilled(firer)
for(var/mob/living/mob in range(power, src))
mob.apply_damage(damage * (ishostile(mob) ? fauna_boost : 1), BRUTE, spread_damage = TRUE)
if(!ishostile(mob) || !firer)
if(!ishostile(mob) || !firer || mob.stat != CONSCIOUS)
continue
var/mob/living/simple_animal/hostile/hostile_mob = mob
hostile_mob.GiveTarget(firer)