Skyrat-SS13 / Skyrat-tg

A Skyrat downstream of /tg/station SS13.
GNU Affero General Public License v3.0
122 stars 685 forks source link

[MIRROR] Fixes loadout menu bluescreen when recoloring certain items. #28837

Closed SkyratBot closed 1 month ago

SkyratBot commented 1 month ago

Original PR: https://github.com/tgstation/tgstation/pull/84936

About The Pull Request

Fixes a bug where certain non-recolorable items would have a "recolor" option in the loadout menu, causing a bluescreen. This happened on any non-recolorable subtypes of recolorable items, such as the horrible necktie. Checks identical to those performed by clothing vendors have been added to fix the problem.

Why It's Good For The Game

Things shouldn't bluescreen.

Changelog

:cl: fix: You can no longer cause a bluescreen by attempting to recolor non-recolorable loadout items. /:cl: