mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkClient.Update syntax improved
This commit is contained in:
parent
b74b02731f
commit
44fface440
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user