Fixes Issue #230 - Void suit body sprites not visible.

Cause is somewhat complicated:
* Custom vore code in update_icons will use 'item_state' as the icon state if icon_override is set on a suit.
* Suit refit machines will set icon_override on suits if the sprite_sheet_refits variable matches.
* However icon_override is not actually used anymore because of the species sprite sheets.
* Therefore it breaks.  By making this change we ensure that icon_override is not set, so the custom vore code does not apply, and the item_state is not allowed to overrule the icon_state.
This commit is contained in:
Leshana
2016-05-27 19:46:06 -04:00
parent 69b520c844
commit 2148ae20d5

View File

@@ -23,3 +23,8 @@
"Flatland Zorren" = 'icons/mob/species/fennec/suit_vr.dmi',
"Highlander Zorren" = 'icons/mob/species/fox/suit_vr.dmi'
)
// This is a hack to prevent the item_state variable on the suits from taking effect
// when the item is equipped in outer clothing slot.
// This variable is normally used to set the icon_override when the suit is refitted,
// however the species spritesheet now means we no longer need that anyway!
sprite_sheets_refit = list()