Files
Bubberstation/code/modules/mob/dead
SkyratBot b6f7adb565 [MIRROR] Fix dead mobs changing their mob tag causing obsever weakrefs to not function (#26592)
* Fix dead mobs changing their mob `tag` causing obsever weakrefs to not function (#81585)

## About The Pull Request

Fixes #81578
Fixes #81559
Fixes #81308

In #69634 mob tag generation was moved to `/mob/New`

But dead mobs also do this in initialize

![image](https://github.com/tgstation/tgstation/assets/51863163/ac5cc2fa-2360-4a5d-b992-0fe43e4f6122)

So dead mobs skipped over a tag

This is whatever, until it's not:

If something makes a weakref of an observer in `/observer/Initialize`
before its parent call, which shuffles the mob tag around, uh oh now our
weakref points to a non-existent ref!

So what's making the weakref? No clue but apparently chasms

## Changelog

🆑 Melbert
fix: Chasms no longer break your verbs
/🆑

* Fix dead mobs changing their mob `tag` causing obsever weakrefs to not function

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2024-02-21 19:46:33 +01:00
..