Skip to content

Commit

Permalink
[FIX] Goliath no longer seems to come to live from mining grenades (#…
Browse files Browse the repository at this point in the history
…27309)

* Goliath no longer pretends to be alive

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

Co-authored-by: Contrabang <[email protected]>
Signed-off-by: Chap <[email protected]>

---------

Signed-off-by: Chap <[email protected]>
Co-authored-by: Adrer <[email protected]>
Co-authored-by: Contrabang <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent 516ada3 commit 1db9e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mod/modules/modules_supply.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1db9e86

Please sign in to comment.