mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
set sv_sayname on connection restore
This commit is contained in:
parent
dfd5a3fae8
commit
010f550717
@ -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;
|
||||
}
|
||||
|
||||
|
@ -347,6 +347,6 @@ namespace SharedLibraryCore
|
||||
|
||||
// only here for performance
|
||||
private readonly bool CustomSayEnabled;
|
||||
private readonly string CustomSayName;
|
||||
protected readonly string CustomSayName;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user