Skip to content

Commit

Permalink
Merge pull request #3399 from out-of-phaze/fix/uid-hair-migration
Browse files Browse the repository at this point in the history
Fix hairstyle migrations
  • Loading branch information
MistakeNot4892 authored Oct 1, 2023
2 parents d833f76 + c32a136 commit eb6a02b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/client/preference_setup/general/02_body.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
for(var/accessory in all_sprite_accessories)
var/decl/sprite_accessory/sprite = all_sprite_accessories[accessory]
if(sprite.name == load_h_style)
pref.h_style = accessory
h_style_decl = sprite
break
pref.h_style = istype(h_style_decl) ? h_style_decl.type : /decl/sprite_accessory/hair/bald

Expand All @@ -55,7 +55,7 @@
for(var/accessory in all_sprite_accessories)
var/decl/sprite_accessory/sprite = all_sprite_accessories[accessory]
if(sprite.name == load_f_style)
pref.f_style = accessory
f_style_decl = sprite
break
pref.f_style = istype(f_style_decl) ? f_style_decl.type : /decl/sprite_accessory/facial_hair/shaved

Expand Down

0 comments on commit eb6a02b

Please sign in to comment.