improve comments

This commit is contained in:
vis2k 2019-12-29 21:42:31 +01:00
parent ee1807c85c
commit 53aa0bcc19

View File

@ -270,11 +270,12 @@ public static bool Send<T>(T message, int channelId = Channels.DefaultReliable)
internal static void Update() internal static void Update()
{ {
// local or remote connection? // local connection?
if (connection is ULocalConnectionToServer localConnection) if (connection is ULocalConnectionToServer localConnection)
{ {
localConnection.Update(); localConnection.Update();
} }
// remote connection?
else else
{ {
// only update things while connected // only update things while connected