Никаких больше бесплатных фелинидов (#206)

Co-authored-by: Mona Hmiza <>
This commit is contained in:
RavMorgan
2023-07-17 23:27:02 +03:00
committed by Aviu00
parent 20b52d23a5
commit 1f1ff0763f
2 changed files with 6 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ using Content.Shared.CCVar;
using Content.Shared.Database;
using Content.Shared.GameTicking;
using Content.Shared.Players;
using Content.Shared.Humanoid.Prototypes;
using Content.Shared.Preferences;
using Content.Shared.Roles;
using Content.Shared.Roles.Jobs;
@@ -310,9 +311,8 @@ namespace Content.Server.GameTicking
if (existedAllowedProfile.Count == 0)
{
character = HumanoidCharacterProfile.RandomWithSpecies(_robustRandom.Pick(whitelistedSpecies));
_chatManager.DispatchServerMessage(player,
"Данному виду запрещено играть на этой профессии. Вам была выдана случайная внешность.");
character = HumanoidCharacterProfile.DefaultWithSpecies();
_chatManager.DispatchServerMessage(player, "Данному виду запрещено играть на этой профессии. Вам была выдана случайная внешность.");
}
else
{