[MIRROR] Stops rats spawning two every time they die. [MDB IGNORE] (#15669)

* Stops rats spawning two every time they die. (#69223)

* Stops rats spawning two every time they die.

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-08-17 17:15:54 +01:00
committed by GitHub
co-authored by necromanceranne
parent 1535c53e01
commit 0843a221bf
@@ -315,7 +315,9 @@
var/obj/item/food/deadmouse/mouse = new(loc)
mouse.icon_state = icon_dead
mouse.name = name
SSmobs.cheeserats -= src // remove rats on death
qdel(src)
else
SSmobs.cheeserats -= src // remove rats on death
return ..()
/mob/living/simple_animal/hostile/rat/revive(full_heal = FALSE, admin_revive = FALSE)