diff --git a/Application/IW4MServer.cs b/Application/IW4MServer.cs index b4485a336..525e43698 100644 --- a/Application/IW4MServer.cs +++ b/Application/IW4MServer.cs @@ -310,6 +310,11 @@ namespace IW4MAdmin Console.WriteLine(loc["MANAGER_CONNECTION_REST"].FormatExt($"[{IP}:{Port}]")); } + if (!string.IsNullOrEmpty(CustomSayName)) + { + await this.SetDvarAsync("sv_sayname", CustomSayName); + } + Throttled = false; } diff --git a/SharedLibraryCore/Server.cs b/SharedLibraryCore/Server.cs index 44c888953..9c0564616 100644 --- a/SharedLibraryCore/Server.cs +++ b/SharedLibraryCore/Server.cs @@ -347,6 +347,6 @@ namespace SharedLibraryCore // only here for performance private readonly bool CustomSayEnabled; - private readonly string CustomSayName; + protected readonly string CustomSayName; } }