diff --git a/Content.Shared/Preferences/HumanoidCharacterProfile.cs b/Content.Shared/Preferences/HumanoidCharacterProfile.cs
index 3edea4ccf19..ece9a82bb24 100644
--- a/Content.Shared/Preferences/HumanoidCharacterProfile.cs
+++ b/Content.Shared/Preferences/HumanoidCharacterProfile.cs
@@ -81,7 +81,8 @@ private HumanoidCharacterProfile(
/// Copy constructor
private HumanoidCharacterProfile(HumanoidCharacterProfile other)
: this(other, new Dictionary(other.JobPriorities),
- [..other.AntagPreferences], [..other.TraitPreferences], [..other.LoadoutPreferences])
+ new List(other.AntagPreferences), new List(other.TraitPreferences),
+ new List(other.LoadoutPreferences))
{
}
@@ -103,7 +104,8 @@ public HumanoidCharacterProfile(
IReadOnlyList loadoutPreferences)
: this(name, flavortext, species, age, sex, gender, appearance, clothing, backpack, spawnPriority,
new Dictionary(jobPriorities), preferenceUnavailable,
- [..antagPreferences], [..traitPreferences], [..loadoutPreferences])
+ new List(antagPreferences), new List(traitPreferences),
+ new List(loadoutPreferences))
{
}
@@ -128,9 +130,9 @@ public HumanoidCharacterProfile() : this(
{SharedGameTicker.FallbackOverflowJob, JobPriority.High}
},
PreferenceUnavailableMode.SpawnAsOverflow,
- [],
- [],
- [])
+ new List(),
+ new List(),
+ new List())
{
}
@@ -157,9 +159,9 @@ public static HumanoidCharacterProfile DefaultWithSpecies(string species = Share
{SharedGameTicker.FallbackOverflowJob, JobPriority.High}
},
PreferenceUnavailableMode.SpawnAsOverflow,
- [],
- [],
- []);
+ new List(),
+ new List(),
+ new List());
}
// TODO: This should eventually not be a visual change only.
@@ -210,7 +212,7 @@ public static HumanoidCharacterProfile RandomWithSpecies(string species = Shared
new Dictionary
{
{SharedGameTicker.FallbackOverflowJob, JobPriority.High},
- }, PreferenceUnavailableMode.StayInLobby, [], [], []);
+ }, PreferenceUnavailableMode.StayInLobby, new List(), new List(), new List());
}
public string Name { get; private set; }