Files
Bubberstation/code/modules/mod/mod_actions.dm
SkyratBot c143c32fc6 [MIRROR] Fixes pinned module modsuit icons [MDB IGNORE] (#18095)
Fixes pinned module modsuit icons (#71857)

- `item_action/New` is where it item actions generate an icon based on
the target if the icon is null. Pinned modules set up the icon **after**
the parent call, so it went through to New, generated the icon, and THEN
set its own icon.
- Simply moves the icon setup to before the parent call to resolve this.
- Also removes some copy and paste code.

Icons look good

![image](https://user-images.githubusercontent.com/51863163/206623593-d6bbd4ea-5b5d-4365-aa08-d43d4fce0335.png)

🆑 Melbert
fix: Corrects the look of pinned modules
/🆑

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-12-19 22:28:04 +13:00

5.8 KiB