mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 17:02:04 +00:00
[FIX] Humans no longer have socks when they're missing either leg: My socks got knocked off! (#26099)
* Fixes https://github.com/ParadiseSS13/Paradise/issues/7596
* Revert "Makes our time defines use strict numbers instead of nested defines (#26069)"
This reverts commit 19cbfb129a.
* Comments!
* Revert unintended change
* Actually reverts.... missed an *
* Remove S, update comment.
* Update code/modules/mob/living/carbon/human/human_update_icons.dm
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <yumyumkillkill@gmail.com>
---------
Signed-off-by: Spaghetti-bit <yumyumkillkill@gmail.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -259,7 +259,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
|
||||
var/u2_icon = U2.sprite_sheets && (dna.species.sprite_sheet_name in U2.sprite_sheets) ? U2.sprite_sheets[dna.species.sprite_sheet_name] : U2.icon
|
||||
underwear_standing.Blend(new /icon(u2_icon, "us_[U2.icon_state]_s"), ICON_OVERLAY)
|
||||
|
||||
if(socks && dna.species.clothing_flags & HAS_SOCKS)
|
||||
if(socks && dna.species.clothing_flags & HAS_SOCKS && get_organ("l_leg") && get_organ("r_leg")) // Check if the human has both legs before going on adding socks.
|
||||
var/datum/sprite_accessory/socks/U3 = GLOB.socks_list[socks]
|
||||
if(U3)
|
||||
var/u3_icon = U3.sprite_sheets && (dna.species.sprite_sheet_name in U3.sprite_sheets) ? U3.sprite_sheets[dna.species.sprite_sheet_name] : U3.icon
|
||||
|
||||
Reference in New Issue
Block a user