NetworkClient.Update syntax improved

This commit is contained in:
vis2k 2018-09-26 14:39:55 +02:00
parent b74b02731f
commit 44fface440

View File

@ -163,7 +163,8 @@ internal virtual void Update()
// don't do anything if we aren't fully connected
// -> we don't check Client.Connected because then we wouldn't
// process the last disconnect message.
if (connectState != ConnectState.Connecting && connectState != ConnectState.Connected)
if (connectState != ConnectState.Connecting &&
connectState != ConnectState.Connected)
{
return;
}