Use objects id mapping for networking to have proper replication of networked object references

This commit is contained in:
Wojciech Figat
2022-10-19 13:14:16 +02:00
parent a5a39ac3d6
commit ff49401f3a
3 changed files with 12 additions and 0 deletions

View File

@@ -320,6 +320,7 @@ void NetworkManagerService::Update()
LastUpdateTime = currentTime;
NetworkManager::Frame++;
auto peer = NetworkManager::Peer;
NetworkInternal::NetworkReplicatorPreUpdate();
// TODO: convert into TaskGraphSystems and use async jobs
// Process network messages