Files
Bubberstation/code/modules/surgery
MrMelbert 00297eaee6 Fix all decap'd heads looking brainless (#89157)
## About The Pull Request

Order of operations thing (I think) 

- `drop_limb`
- `update_limb`
- It correctly updates the limb `show_debrained = FALSE`
- Remove from limb
- `death`
- `update_body_parts`
- `update_limb`
- Now the head is still associated with the mob, but the organs are
gone, so technically, we have no brain
- It updates the limb `show_debrained = TRUE`
- `update_owner(null)`
- Head is only NOW disassociated with the mob after we've wrongly
assumed the mob has no brain
- `update_icon_dropped` (with the incorrect values) 

Moving to after we have been disassociated with the owner entirely seems
to fix it, might have knock on effects though. Didn't seem to in (short)
testing but yeah

Maybe fixes #87971

## Changelog

🆑 Melbert
fix: Heads with brains no longer look debrained
/🆑
2025-01-21 18:43:51 -07:00
..
2025-01-21 20:06:30 +01:00