mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user