Merge remote-tracking branch 'origin/master' into 1.7

This commit is contained in:
Wojtek Figat
2023-08-28 09:11:29 +02:00
29 changed files with 324 additions and 34 deletions

View File

@@ -1412,9 +1412,9 @@ void NetworkInternal::NetworkReplicatorUpdate()
if (!CachedReplicationResult)
CachedReplicationResult = New<NetworkReplicationHierarchyUpdateResult>();
CachedReplicationResult->Init();
if (!isClient && NetworkManager::Clients.IsEmpty())
if ((!isClient && NetworkManager::Clients.IsEmpty()) || NetworkManager::NetworkFPS < -ZeroTolerance)
{
// No need to update replication when nobody's around
// No need to update replication when nobody's around or when replication is disabled
}
else if (Hierarchy)
{