Как же я заебался

This commit is contained in:
Jabak
2024-07-17 15:32:05 +03:00
parent 84bc7a9df6
commit 020ad2f834
3 changed files with 13 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ using Content.Server.Database;
using Content.Shared._Amour.RoleplayInfo; using Content.Shared._Amour.RoleplayInfo;
using Content.Shared.GameTicking; using Content.Shared.GameTicking;
using Content.Shared.Humanoid; using Content.Shared.Humanoid;
using Content.Shared.Humanoid.Markings;
using Content.Shared.Preferences; using Content.Shared.Preferences;
using Content.Shared.Preferences.Loadouts; using Content.Shared.Preferences.Loadouts;
using Content.Shared.Preferences.Loadouts.Effects; using Content.Shared.Preferences.Loadouts.Effects;
@@ -59,8 +60,10 @@ namespace Content.IntegrationTests.Tests.Preferences
"Shaved", "Shaved",
Color.Aquamarine, Color.Aquamarine,
Color.Azure, Color.Azure,
Color.Beige,128, Color.Beige,
new (), new() //AMOUR 128,
new (),
new() //AMOUR
), ),
SpawnPriorityPreference.None, SpawnPriorityPreference.None,
new Dictionary<string, JobPriority> new Dictionary<string, JobPriority>
@@ -70,8 +73,8 @@ namespace Content.IntegrationTests.Tests.Preferences
PreferenceUnavailableMode.StayInLobby, PreferenceUnavailableMode.StayInLobby,
new List<string> (), new List<string> (),
new List<string>(), new List<string>(),
new Dictionary<string, RoleLoadout>(), new Dictionary<string, RoleplayInfo>(), //AMOUR
new Dictionary<string, RoleplayInfo>() //AMOUR new Dictionary<string, RoleLoadout>()
); );
} }

View File

@@ -282,8 +282,8 @@ namespace Content.Server.Database
(PreferenceUnavailableMode) profile.PreferenceUnavailable, (PreferenceUnavailableMode) profile.PreferenceUnavailable,
antags.ToList(), antags.ToList(),
traits.ToList(), traits.ToList(),
loadouts, roleplayInfo,
roleplayInfo loadouts
); );
} }

View File

@@ -139,7 +139,8 @@ namespace Content.Shared.Preferences
PreferenceUnavailableMode preferenceUnavailable, PreferenceUnavailableMode preferenceUnavailable,
IReadOnlyList<string> antagPreferences, IReadOnlyList<string> antagPreferences,
IReadOnlyList<string> traitPreferences, IReadOnlyList<string> traitPreferences,
Dictionary<string, RoleLoadout> loadouts, IReadOnlyDictionary<string, RoleplayInfo> roleplayInfoData) IReadOnlyDictionary<string, RoleplayInfo> roleplayInfoData,
Dictionary<string, RoleLoadout> loadouts)
: this(name, : this(name,
clownName, clownName,
mimeName, mimeName,
@@ -157,8 +158,8 @@ namespace Content.Shared.Preferences
preferenceUnavailable, preferenceUnavailable,
new List<string>(antagPreferences), new List<string>(antagPreferences),
new List<string>(traitPreferences), new List<string>(traitPreferences),
new Dictionary<string, RoleLoadout>(loadouts), new Dictionary<string, RoleplayInfo>(roleplayInfoData),
new Dictionary<string, RoleplayInfo>(roleplayInfoData)) new Dictionary<string, RoleLoadout>(loadouts))
{ {
} }