Skip to content

Commit

Permalink
Adds handled_by_bodytype var and override back to `human_update_ico…
Browse files Browse the repository at this point in the history
…ns.dm` (tgstation#67657)

* oopsy whoopsy

* kapus comment

* undos that
  • Loading branch information
Jolly-66 authored Jun 12, 2022
1 parent 7f92d9a commit 29fd14a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/human/human_update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ There are several things that need to be remembered:

var/mutable_appearance/uniform_overlay

//Change check_adjustable_clothing.dm if you change this
var/handled_by_bodytype = TRUE
var/icon_file
var/woman
if(!uniform_overlay)
Expand All @@ -174,6 +176,7 @@ There are several things that need to be remembered:
isinhands = FALSE,
female_uniform = woman ? uniform.female_sprite_flags : null,
override_state = target_overlay,
override_file = handled_by_bodytype ? icon_file : null,
)

if(OFFSET_UNIFORM in dna.species.offset_features)
Expand Down

0 comments on commit 29fd14a

Please sign in to comment.