diff --git a/Source/Engine/Networking/NetworkReplicator.cpp b/Source/Engine/Networking/NetworkReplicator.cpp index e5a7d232e..ced964436 100644 --- a/Source/Engine/Networking/NetworkReplicator.cpp +++ b/Source/Engine/Networking/NetworkReplicator.cpp @@ -1029,7 +1029,7 @@ void InvokeObjectReplication(NetworkReplicatedObject& item, uint32 ownerFrame, b } // Speed up replication of client-owned objects to other clients from server to reduce lag (data has to go from client to server and then to other clients) - if (NetworkManager::IsServer()) + if (NetworkManager::IsServer() || NetworkManager::IsHost()) DirtyObjectImpl(item, obj); } @@ -2147,7 +2147,7 @@ void NetworkInternal::NetworkReplicatorUpdate() Objects.Remove(it); continue; } - if (item.Role != NetworkObjectRole::OwnedAuthoritative) + if (item.Role != NetworkObjectRole::OwnedAuthoritative && NetworkManager::IsClient()) continue; // Send replication messages of only owned objects or from other client objects CachedReplicationResult->AddObject(obj); }