mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-06-09 13:26:34 +02:00
comment bruh
This commit is contained in:
@@ -35,6 +35,7 @@ public static class ClientPackaging
|
||||
"/m"
|
||||
}
|
||||
};
|
||||
// Corvax-Secrets-Start
|
||||
if (UseSecrets)
|
||||
{
|
||||
await ProcessHelpers.RunCheck(new ProcessStartInfo
|
||||
@@ -53,6 +54,7 @@ public static class ClientPackaging
|
||||
}
|
||||
});
|
||||
}
|
||||
// Corvax-Secrets-End
|
||||
|
||||
if (logBuild)
|
||||
{
|
||||
|
||||
@@ -377,8 +377,7 @@ namespace Content.Server.Preferences.Managers
|
||||
var sponsorPrototypes = _sponsors != null && _sponsors.TryGetServerPrototypes(session.UserId, out var prototypes) ? prototypes.ToArray() : []; // Corvax-Sponsors
|
||||
return new PlayerPreferences(prefs.Characters.Select(p =>
|
||||
{
|
||||
return new KeyValuePair<int, HumanoidCharacterProfile>(p.Key, p.Value.Validated(session, collection));
|
||||
return new KeyValuePair<int, ICharacterProfile>(p.Key, p.Value.Validated(session, collection, sponsorPrototypes));
|
||||
return new KeyValuePair<int, HumanoidCharacterProfile>(p.Key, p.Value.Validated(session, collection, sponsorPrototypes));// Corvax-Sponsors
|
||||
}), prefs.SelectedCharacterIndex, prefs.AdminOOCColor, prefs.ConstructionFavorites);
|
||||
}
|
||||
|
||||
|
||||
@@ -721,7 +721,6 @@ namespace Content.Shared.Preferences
|
||||
return result;
|
||||
}
|
||||
|
||||
public HumanoidCharacterProfile Validated(ICommonSession session, IDependencyCollection collection)
|
||||
// Corvax-TTS-Start
|
||||
// SHOULD BE NOT PUBLIC, BUT....
|
||||
public static bool CanHaveVoice(TTSVoicePrototype voice, Sex sex)
|
||||
@@ -730,7 +729,7 @@ namespace Content.Shared.Preferences
|
||||
}
|
||||
// Corvax-TTS-End
|
||||
|
||||
public ICharacterProfile Validated(ICommonSession session, IDependencyCollection collection, string[] sponsorPrototypes)
|
||||
public HumanoidCharacterProfile Validated(ICommonSession session, IDependencyCollection collection, string[] sponsorPrototypes)// Corvax-Sponsors
|
||||
{
|
||||
var profile = new HumanoidCharacterProfile(this);
|
||||
profile.EnsureValid(session, collection, sponsorPrototypes);
|
||||
|
||||
Reference in New Issue
Block a user