mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
Fixes colossus possessor crystal cockroaches/animals not dumping the user's body upon death/gibbing (#75843)
## About The Pull Request Hooks the stasis closet thingamajing into `COMSIG_LIVING_DEATH` instead of checking the animal's stat on `process()`, which makes possessed animals properly dump the stasis closet's contents upon death or gibbing (which is death but cooler). yeah uh this method is hilarious but it does protect the user's body quite reliably at least lol ## Why It's Good For The Game Fixes #75829 also probably makes cockroach death saner in some unreported way, this `. = ..()` vs `..()` is above my non-existent paygrade but it keeps popping up from time to time ## Changelog 🆑 fix: gibbing colossus possessor crystal possessed animals will no longer stick the user's body and their stuff into the shadow realm. the animals will properly drop your corpse when killed or gibbed /🆑 --------- Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
/mob/living/basic/cockroach/death(gibbed)
|
||||
if(GLOB.station_was_nuked) //If the nuke is going off, then cockroaches are invincible. Keeps the nuke from killing them, cause cockroaches are immune to nukes.
|
||||
return
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/mob/living/basic/cockroach/ex_act() //Explosions are a terrible way to handle a cockroach.
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user