1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

set sv_sayname on connection restore

This commit is contained in:
RaidMax
2021-09-18 18:28:37 -05:00
parent dfd5a3fae8
commit 010f550717
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}