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

enable support for custom say name on non IW4 games with tell/say raw

This commit is contained in:
RaidMax
2023-04-07 14:04:04 -05:00
parent c1c3b163d4
commit d45ba6434f
2 changed files with 8 additions and 4 deletions

View File

@ -330,7 +330,7 @@ namespace IW4MAdmin
else if (E.Type == GameEvent.EventType.ConnectionRestored)
{
ServerLogger.LogInformation(
"Connection restored with {server}", ToString());
"Connection restored with {Server}", ToString());
if (!Manager.GetApplicationSettings().Configuration().IgnoreServerConnectionLost)
{
@ -1347,7 +1347,7 @@ namespace IW4MAdmin
if (Manager.GetApplicationSettings().Configuration().EnableCustomSayName)
{
await this.SetDvarAsync("sv_sayname", Manager.GetApplicationSettings().Configuration().CustomSayName,
await this.SetDvarAsync("sv_sayname", CustomSayName,
Manager.CancellationToken);
}