Files
Bubberstation/code/modules/surgery
SkyratBot 12e44cf9b9 [MIRROR] Fixes emissives blockers being broken on mobs [MDB IGNORE] (#22690)
* Fixes emissives blockers being broken on mobs (#77088)

## About The Pull Request

Fixes https://github.com/tgstation/tgstation/issues/76065
Fixes https://github.com/tgstation/tgstation/issues/73860

![firefox_woFR1lmIQq](https://github.com/tgstation/tgstation/assets/13398309/e9b48e8d-4c0d-484f-b57e-94f06a456934)

https://github.com/tgstation/tgstation/pull/74453 _cough_

So it turned out that no emissive blocker overlays were being added to
mobs because `blocks_emissive` being `FALSE` no longer means that it
doesn't block emissives.

We have to check for `EMISSIVE_BLOCK_NONE` instead after the
optimization from the linked PR.

## Why It's Good For The Game

![dreamseeker_I9MuQEUjcC](https://github.com/tgstation/tgstation/assets/13398309/3a507c28-59e3-4276-b4f1-0babdcf952f1)

<details><summary>Fixes the window mesh prisons</summary>

![dreamseeker_wkCElt1Znp](https://github.com/tgstation/tgstation/assets/13398309/b9bb22a0-99f2-4ffa-ae32-6bc734be8353)

![dreamseeker_vhqFYt5X11](https://github.com/tgstation/tgstation/assets/13398309/b7364472-71c9-43e0-9ba8-bbb4bd5b489d)

</details>

<details><summary>No more of the weird partial transparency with buttons
and the like</summary>

![dreamseeker_IweBhZRpa3](https://github.com/tgstation/tgstation/assets/13398309/04938001-6201-45b0-9caa-5a305b40e116)

![dreamseeker_PK06VGj28o](https://github.com/tgstation/tgstation/assets/13398309/c482228b-988a-4861-8037-204471f2408e)

</details>

## Changelog

🆑
fix: fixes mobs missing most of their emissive blockers
/🆑

* Fixes emissives blockers being broken on mobs

---------

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
2023-07-26 08:09:26 +00:00
..