mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 09:34:21 +01:00
allow for undershirts to be ckey-enabled (#30795)
This commit is contained in:
committed by
GitHub
parent
2afd734f38
commit
601ff5601e
@@ -257,7 +257,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
|
||||
underwear_standing.Blend(new /icon(u_icon, "uw_[U.icon_state]_s"), ICON_OVERLAY)
|
||||
|
||||
if(undershirt && dna.species.clothing_flags & HAS_UNDERSHIRT)
|
||||
var/datum/sprite_accessory/undershirt/U2 = GLOB.undershirt_list[undershirt]
|
||||
var/datum/sprite_accessory/undershirt/U2 = GLOB.undershirt_full_list[undershirt]
|
||||
if(U2)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user