Merge pull request #1690 from VOREStation/shoes

Fixes runtimes with suits
This commit is contained in:
Neerti
2016-05-19 01:11:02 -04:00
2 changed files with 6 additions and 3 deletions

View File

@@ -267,8 +267,6 @@ This saves us from having to call add_fingerprint() any time something is put in
update_inv_shoes(redraw_mob)
if(slot_wear_suit)
src.wear_suit = W
if((wear_suit.flags_inv & HIDESHOES) || (w_uniform.flags_inv & HIDESHOES))
update_inv_shoes(0)
W.equipped(src, slot)
update_inv_wear_suit(redraw_mob)
if(slot_w_uniform)

View File

@@ -499,6 +499,9 @@ var/global/list/damage_icon_parts = list()
else
overlays_standing[UNIFORM_LAYER] = null
//hiding/revealing shoes if necessary
update_inv_shoes(0)
if(update_icons)
update_icons()
@@ -774,10 +777,12 @@ var/global/list/damage_icon_parts = list()
else
overlays_standing[SUIT_LAYER] = null
update_tail_showing(0)
update_inv_shoes(0)
update_collar(0)
//hide/show shoes if necessary
update_inv_shoes(0)
if(update_icons) update_icons()
/mob/living/carbon/human/update_inv_pockets(var/update_icons=1)