Skip to content

Commit

Permalink
[MIRROR] Romerol tumors in living non-zombies don't delete on death […
Browse files Browse the repository at this point in the history
…MDB IGNORE] (#25278) (#845)

* Romerol tumors in living non-zombies don't delete on death (#79945)

## About The Pull Request

Romerol tumors have been broken for over a month because Melbert made
them delete on host death, without realizing that people without
`TRAIT_NODEATH` can have them (namely, non-zombies). This simply puts
the self-deletion behind an `iszombie` check.

## Why It's Good For The Game

This was an oversight that went under the radar until I saw someone get
denied a zombie outbreak because of it.

## Changelog

:cl:
fix: People exposed to romerol while alive will once again revive as
zombies on death.
/:cl:



* Romerol tumors in living non-zombies don't delete on death

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Y0SH1M4S73R <[email protected]>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
  • Loading branch information
4 people authored Nov 28, 2023
1 parent 87a3362 commit 824ae6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/zombie/organs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

/obj/item/organ/internal/zombie_infection/proc/organ_owner_died(mob/living/carbon/source, gibbed)
SIGNAL_HANDLER
qdel(src) // Congrats you somehow died so hard you stopped being a zombie
if(iszombie(source))
qdel(src) // Congrats you somehow died so hard you stopped being a zombie

/obj/item/organ/internal/zombie_infection/on_find(mob/living/finder)
to_chat(finder, span_warning("Inside the head is a disgusting black \
Expand Down

0 comments on commit 824ae6c

Please sign in to comment.