Skip to content

Commit

Permalink
tweak(zombie): add failsafe for xenos
Browse files Browse the repository at this point in the history
  • Loading branch information
Doster-d committed Dec 17, 2023
1 parent 5946a3d commit 7074a4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/mob/organs/external/_external_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ var/list/limb_icon_cache = list()
var/icon/temp_icon = icon(chosen_icon)
var/list/icon_states = temp_icon.IconStates()
if(!icon_states.Find(chosen_icon_state))
if(icon_states.Find("[icon_name][gender]"))
if(icon_states.Find("[icon_name][gender][body_build]"))
chosen_icon_state = "[icon_name][gender][body_build]"
else if(icon_states.Find("[icon_name][gender]"))
chosen_icon_state = "[icon_name][gender]"
else if(icon_states.Find("[icon_name]"))
chosen_icon_state = "[icon_name]"
Expand Down

0 comments on commit 7074a4d

Please sign in to comment.