@@ -81,7 +81,8 @@ private HumanoidCharacterProfile(
81
81
/// <summary>Copy constructor</summary>
82
82
private HumanoidCharacterProfile ( HumanoidCharacterProfile other )
83
83
: this ( other , new Dictionary < string , JobPriority > ( other . JobPriorities ) ,
84
- [ ..other . AntagPreferences ] , [ ..other . TraitPreferences ] , [ ..other . LoadoutPreferences ] )
84
+ new List < string > ( other . AntagPreferences ) , new List < string > ( other . TraitPreferences ) ,
85
+ new List < string > ( other . LoadoutPreferences ) )
85
86
{
86
87
}
87
88
@@ -103,7 +104,8 @@ public HumanoidCharacterProfile(
103
104
IReadOnlyList < string > loadoutPreferences )
104
105
: this ( name , flavortext , species , age , sex , gender , appearance , clothing , backpack , spawnPriority ,
105
106
new Dictionary < string , JobPriority > ( jobPriorities ) , preferenceUnavailable ,
106
- [ ..antagPreferences ] , [ ..traitPreferences ] , [ ..loadoutPreferences ] )
107
+ new List < string > ( antagPreferences ) , new List < string > ( traitPreferences ) ,
108
+ new List < string > ( loadoutPreferences ) )
107
109
{
108
110
}
109
111
@@ -128,9 +130,9 @@ public HumanoidCharacterProfile() : this(
128
130
{ SharedGameTicker . FallbackOverflowJob , JobPriority . High }
129
131
} ,
130
132
PreferenceUnavailableMode . SpawnAsOverflow ,
131
- [ ] ,
132
- [ ] ,
133
- [ ] )
133
+ new List < string > ( ) ,
134
+ new List < string > ( ) ,
135
+ new List < string > ( ) )
134
136
{
135
137
}
136
138
@@ -157,9 +159,9 @@ public static HumanoidCharacterProfile DefaultWithSpecies(string species = Share
157
159
{ SharedGameTicker . FallbackOverflowJob , JobPriority . High }
158
160
} ,
159
161
PreferenceUnavailableMode . SpawnAsOverflow ,
160
- [ ] ,
161
- [ ] ,
162
- [ ] ) ;
162
+ new List < string > ( ) ,
163
+ new List < string > ( ) ,
164
+ new List < string > ( ) ) ;
163
165
}
164
166
165
167
// TODO: This should eventually not be a visual change only.
@@ -210,7 +212,7 @@ public static HumanoidCharacterProfile RandomWithSpecies(string species = Shared
210
212
new Dictionary < string , JobPriority >
211
213
{
212
214
{ SharedGameTicker . FallbackOverflowJob , JobPriority . High } ,
213
- } , PreferenceUnavailableMode . StayInLobby , [ ] , [ ] , [ ] ) ;
215
+ } , PreferenceUnavailableMode . StayInLobby , new List < string > ( ) , new List < string > ( ) , new List < string > ( ) ) ;
214
216
}
215
217
216
218
public string Name { get ; private set ; }
0 commit comments