This commit is contained in:
SDraw 2022-08-16 18:10:06 +03:00
parent 15ba984362
commit 346c5c29ec
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
3 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ namespace ml_sci
static void OnGameNetworkConnectionClosed(object __0, DisconnectedEventArgs __1)
{
if((CohtmlHud.Instance != null) && (__1 != null) && (!__1.LocalDisconnect))
CohtmlHud.Instance.ViewDropTextImmediate("(Global) Server", "Connection lost", (__1.Error != System.Net.Sockets.SocketError.Success) ? ("Reason: " + __1.Error.ToString()) : "");
CohtmlHud.Instance.ViewDropTextImmediate("(Local) Client", "Connection lost", (__1.Error != System.Net.Sockets.SocketError.Success) ? ("Reason: " + __1.Error.ToString()) : "");
}
}
}