Skip to content

Commit

Permalink
fix loadouts not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed Mar 25, 2024
1 parent 472d659 commit e502eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Preferences/HumanoidCharacterProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private HumanoidCharacterProfile(
/// <summary>Copy constructor</summary>
private HumanoidCharacterProfile(HumanoidCharacterProfile other)
: this(other, new Dictionary<string, JobPriority>(other.JobPriorities),
[..other.AntagPreferences], [..other.TraitPreferences], [])
[..other.AntagPreferences], [..other.TraitPreferences], [..other.LoadoutPreferences])
{
}

Expand All @@ -103,7 +103,7 @@ public HumanoidCharacterProfile(
IReadOnlyList<string> loadoutPreferences)
: this(name, flavortext, species, age, sex, gender, appearance, clothing, backpack, spawnPriority,
new Dictionary<string, JobPriority>(jobPriorities), preferenceUnavailable,
[..antagPreferences], [..traitPreferences], [])
[..antagPreferences], [..traitPreferences], [..loadoutPreferences])
{
}

Expand Down

0 comments on commit e502eca

Please sign in to comment.