[MIRROR] Fixes exosuit board sprites [MDB IGNORE] (#19286)

* Fixes exosuit board sprites (#73332)

## About The Pull Request

Any circuit board whose icon state is not "circuit_map" (others dont
have gags) dont have gags applied to them

## Why It's Good For The Game

Fixes #71332

## Changelog
🆑
fix: Any circuit boards with custom sprites now actually use that sprite
/🆑

* Fixes exosuit board sprites

---------

Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-02-12 01:49:36 +00:00
committed by GitHub
co-authored by jimmyl
parent fbc92ca0b0
commit 7bee221fa3
@@ -25,7 +25,8 @@
/obj/item/circuitboard/Initialize(mapload)
if(name_extension)
name = "[initial(name)] [name_extension]"
set_greyscale(new_config = /datum/greyscale_config/circuit)
if(icon_state == "circuit_map") // some circuitboards have cool custom sprites
set_greyscale(new_config = /datum/greyscale_config/circuit)
return ..()
/obj/item/circuitboard/proc/apply_default_parts(obj/machinery/machine)