Никаких больше бесплатных фелинидов (#206)
Co-authored-by: Mona Hmiza <>
This commit is contained in:
@@ -11,6 +11,7 @@ using Content.Shared.CCVar;
|
|||||||
using Content.Shared.Database;
|
using Content.Shared.Database;
|
||||||
using Content.Shared.GameTicking;
|
using Content.Shared.GameTicking;
|
||||||
using Content.Shared.Players;
|
using Content.Shared.Players;
|
||||||
|
using Content.Shared.Humanoid.Prototypes;
|
||||||
using Content.Shared.Preferences;
|
using Content.Shared.Preferences;
|
||||||
using Content.Shared.Roles;
|
using Content.Shared.Roles;
|
||||||
using Content.Shared.Roles.Jobs;
|
using Content.Shared.Roles.Jobs;
|
||||||
@@ -310,9 +311,8 @@ namespace Content.Server.GameTicking
|
|||||||
|
|
||||||
if (existedAllowedProfile.Count == 0)
|
if (existedAllowedProfile.Count == 0)
|
||||||
{
|
{
|
||||||
character = HumanoidCharacterProfile.RandomWithSpecies(_robustRandom.Pick(whitelistedSpecies));
|
character = HumanoidCharacterProfile.DefaultWithSpecies();
|
||||||
_chatManager.DispatchServerMessage(player,
|
_chatManager.DispatchServerMessage(player, "Данному виду запрещено играть на этой профессии. Вам была выдана случайная внешность.");
|
||||||
"Данному виду запрещено играть на этой профессии. Вам была выдана случайная внешность.");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ using Content.Server.Preferences.Managers;
|
|||||||
using Content.Server.ServerUpdates;
|
using Content.Server.ServerUpdates;
|
||||||
using Content.Server.Shuttles.Systems;
|
using Content.Server.Shuttles.Systems;
|
||||||
using Content.Server.Station.Systems;
|
using Content.Server.Station.Systems;
|
||||||
|
using Content.Server.White.Sponsors;
|
||||||
using Content.Shared.Chat;
|
using Content.Shared.Chat;
|
||||||
using Content.Shared.Damage;
|
using Content.Shared.Damage;
|
||||||
using Content.Shared.GameTicking;
|
using Content.Shared.GameTicking;
|
||||||
@@ -71,6 +72,8 @@ namespace Content.Server.GameTicking
|
|||||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||||
[Dependency] private readonly SharedRoleSystem _roles = default!;
|
[Dependency] private readonly SharedRoleSystem _roles = default!;
|
||||||
[Dependency] private readonly ServerDbEntryManager _dbEntryManager = default!;
|
[Dependency] private readonly ServerDbEntryManager _dbEntryManager = default!;
|
||||||
|
[Dependency] private readonly SponsorsManager _sponsorsManager = default!;
|
||||||
|
|
||||||
|
|
||||||
[ViewVariables] private bool _initialized;
|
[ViewVariables] private bool _initialized;
|
||||||
[ViewVariables] private bool _postInitialized;
|
[ViewVariables] private bool _postInitialized;
|
||||||
|
|||||||
Reference in New Issue
Block a user