1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

fix javascript libraries not being loaded because the stupid CDN change. MICROSOFT, IF YOU'RE LISTENING, FIX YOUR INTEGRATION WITH CDNJS THANK YOU

force demo record and increase max demos saved for IW4x
fix issue with disconnect on a not fully connected client
This commit is contained in:
RaidMax
2019-12-27 20:37:50 -06:00
parent fc8ff7dac9
commit 9f63eafd7f
6 changed files with 23 additions and 8 deletions

View File

@ -79,6 +79,12 @@ namespace IW4MAdmin
override public async Task OnClientDisconnected(EFClient client)
{
if (!GetClientsAsList().Any(_client => _client.NetworkId == client.NetworkId))
{
Logger.WriteInfo($"{client} disconnecting, but they are not connected");
return;
}
#if DEBUG == true
if (client.ClientNumber >= 0)
{