Skip to content

Commit

Permalink
qol: Water now extinguish burning mobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell committed Nov 3, 2023
1 parent cc230ee commit 53d7e4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/turfs/simulated/floor/indestructible.dm
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@
if(!linkedcontroller)
return
if(ismob(AM))
if(isliving(AM))
var/mob/living/creature = AM
creature.ExtinguishMob()
linkedcontroller.mobinpool += AM

/turf/simulated/floor/indestructible/beach/water/Exited(atom/movable/AM, atom/newloc)
Expand Down
3 changes: 3 additions & 0 deletions code/game/turfs/simulated/floor/misc_floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
if(!linkedcontroller)
return
if(ismob(AM))
if(isliving(AM))
var/mob/living/creature = AM
creature.ExtinguishMob()
linkedcontroller.mobinpool += AM

/turf/simulated/floor/beach/water/Exited(atom/movable/AM, atom/newloc)
Expand Down

0 comments on commit 53d7e4f

Please sign in to comment.