set sv_sayname on connection restore
This commit is contained in:
parent
e80753a4d3
commit
d5f978858d
@ -310,6 +310,11 @@ namespace IW4MAdmin
|
|||||||
Console.WriteLine(loc["MANAGER_CONNECTION_REST"].FormatExt($"[{IP}:{Port}]"));
|
Console.WriteLine(loc["MANAGER_CONNECTION_REST"].FormatExt($"[{IP}:{Port}]"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(CustomSayName))
|
||||||
|
{
|
||||||
|
await this.SetDvarAsync("sv_sayname", CustomSayName);
|
||||||
|
}
|
||||||
|
|
||||||
Throttled = false;
|
Throttled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -347,6 +347,6 @@ namespace SharedLibraryCore
|
|||||||
|
|
||||||
// only here for performance
|
// only here for performance
|
||||||
private readonly bool CustomSayEnabled;
|
private readonly bool CustomSayEnabled;
|
||||||
private readonly string CustomSayName;
|
protected readonly string CustomSayName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user