Skip to content

Commit

Permalink
Fix hairstyle migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
out-of-phaze committed Sep 30, 2023
1 parent d326d28 commit c32a136
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 c32a136

Please sign in to comment.