Files
Bubberstation/code/modules/admin/greyscale_modify_menu.dm
SkyratBot 2b154fd86e [MIRROR] Fixes an issue with the "recolor from string" option in the greyscale modify menu [MDB IGNORE] (#23365)
* Fixes an issue with the "recolor from string" option in the greyscale modify menu (#77798)

## About The Pull Request
The number of colors has to match the expected color of the greyscale
configuration, otherwise the whole proc chain behind the generation of
the resulting icon will crash here:
ac446d8bad/code/datums/greyscale/_greyscale_config.dm (L253)

## Why It's Good For The Game
One of the thousands runtimes I've seen in the runtime viewer.

## Changelog

🆑
fix: Fixed an issue with the "recolor from string" option in the
greyscale modify menu that resulted in invisible icons.
/🆑

* Fixes an issue with the "recolor from string" option in the greyscale modify menu

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2023-08-27 10:39:23 -07:00

12 KiB