diff --git a/Application/Misc/EventPublisher.cs b/Application/Misc/EventPublisher.cs index a200bf0a..f28f70fc 100644 --- a/Application/Misc/EventPublisher.cs +++ b/Application/Misc/EventPublisher.cs @@ -29,7 +29,7 @@ namespace IW4MAdmin.Application.Misc OnClientConnect?.Invoke(this, gameEvent); } - if (gameEvent.Type == GameEvent.EventType.Disconnect) + if (gameEvent.Type == GameEvent.EventType.Disconnect && gameEvent.Origin.ClientId != 0) { OnClientDisconnect?.Invoke(this, gameEvent); } @@ -41,4 +41,4 @@ namespace IW4MAdmin.Application.Misc } } } -} \ No newline at end of file +}