Files
Bubberstation/code/modules/client
SkyratBot 4943f17d5d [MIRROR] Fixed spritesheet images for sprite accessories with no icon_state [MDB IGNORE] (#24085)
* Fixed spritesheet images for sprite accessories with no icon_state (#78710)

## About The Pull Request

Some sprite accessories (such as bald and shaved) do not have icon
states, and these are stored as nulls in the GLOB lists. When generating
sprite sheets, nulls were simply returning the basic head icon without
scaling it in the same manner as the other sprites were scaled.

Old:

![Before](https://github.com/tgstation/tgstation/assets/16478175/e095dd8b-2fc2-4f7b-a176-7f0684629428)

New:

![after](https://github.com/tgstation/tgstation/assets/16478175/ea5b4583-58c5-42de-b5ea-367661ebb9e9)

## Why It's Good For The Game

Having some hairstyles be scaled differently in the spritesheets looks
bad.

## Changelog

🆑
fix: Some icons for selecting character preferences are no longer scaled
incorrectly.
/🆑

Co-authored-by: Cruix <discoveryian2@ gmail.com>

* Fixed spritesheet images for sprite accessories with no icon_state

---------

Co-authored-by: Cruix <ianjturk@gmail.com>
Co-authored-by: Cruix <discoveryian2@ gmail.com>
2023-10-03 05:29:50 -04:00
..