mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-07 07:52:29 +00:00
Merge pull request #1690 from VOREStation/shoes
Fixes runtimes with suits
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user