update comments

This commit is contained in:
vis2k 2021-06-09 12:32:31 +08:00
parent 83c86f0f16
commit 24130d6e35
2 changed files with 2 additions and 2 deletions

View File

@ -1258,7 +1258,7 @@ internal static void NetworkLateUpdate()
} }
} }
// process all incoming messages after updating the world // process all outgoing messages after updating the world
if (Transport.activeTransport != null) if (Transport.activeTransport != null)
Transport.activeTransport.ClientLateUpdate(); Transport.activeTransport.ClientLateUpdate();
} }

View File

@ -1558,7 +1558,7 @@ internal static void NetworkLateUpdate()
if (active) if (active)
Broadcast(); Broadcast();
// process all incoming messages after updating the world // process all outgoing messages after updating the world
// (even if not active. still want to process disconnects etc.) // (even if not active. still want to process disconnects etc.)
if (Transport.activeTransport != null) if (Transport.activeTransport != null)
Transport.activeTransport.ServerLateUpdate(); Transport.activeTransport.ServerLateUpdate();