From e502eca35b2736fa4467ff41d105ea6c7242b074 Mon Sep 17 00:00:00 2001 From: DEATHB4DEFEAT Date: Sun, 24 Mar 2024 21:35:06 -0700 Subject: [PATCH] fix loadouts not loading --- Content.Shared/Preferences/HumanoidCharacterProfile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Preferences/HumanoidCharacterProfile.cs b/Content.Shared/Preferences/HumanoidCharacterProfile.cs index bc91b6c1534..3edea4ccf19 100644 --- a/Content.Shared/Preferences/HumanoidCharacterProfile.cs +++ b/Content.Shared/Preferences/HumanoidCharacterProfile.cs @@ -81,7 +81,7 @@ private HumanoidCharacterProfile( /// Copy constructor private HumanoidCharacterProfile(HumanoidCharacterProfile other) : this(other, new Dictionary(other.JobPriorities), - [..other.AntagPreferences], [..other.TraitPreferences], []) + [..other.AntagPreferences], [..other.TraitPreferences], [..other.LoadoutPreferences]) { } @@ -103,7 +103,7 @@ public HumanoidCharacterProfile( IReadOnlyList loadoutPreferences) : this(name, flavortext, species, age, sex, gender, appearance, clothing, backpack, spawnPriority, new Dictionary(jobPriorities), preferenceUnavailable, - [..antagPreferences], [..traitPreferences], []) + [..antagPreferences], [..traitPreferences], [..loadoutPreferences]) { }