# Sandbox.Network.GameNetworkSystem.OnLeave

```csharp
void OnLeave(Connection client)
```

A client has disconnected from the server.

### Parameters

- `client` (`Connection`)

Declared in [Sandbox.Network.GameNetworkSystem](/api/Sandbox.Network.GameNetworkSystem).
Assembly: `Sandbox.Engine`.
