Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Cyrillic in names (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Jan 20, 2024
1 parent 9cfbfee commit 06fcff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Preferences/HumanoidCharacterProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public void EnsureValid()
var configManager = IoCManager.Resolve<IConfigurationManager>();
if (configManager.GetCVar(CCVars.RestrictedNames))
{
name = Regex.Replace(name, @"[^A-Z,a-z,0-9, -]", string.Empty);
name = Regex.Replace(name, @"[^А-Я,а-я,Іі,Її,Ґґ0-9' -]", string.Empty);
}

if (configManager.GetCVar(CCVars.ICNameCase))
Expand Down

0 comments on commit 06fcff4

Please sign in to comment.