You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Remove redundant loop from a bad merge.
#rb brian.bekich #jira none [CL 4537487 by Ryan Gerleve in Dev-Networking branch]
This commit is contained in:
@@ -2897,22 +2897,6 @@ void UNetDriver::AddReferencedObjects(UObject* InThis, FReferenceCollector& Coll
|
||||
}
|
||||
}
|
||||
|
||||
for (auto It = This->ReplicationChangeListMap.CreateIterator(); It; ++It)
|
||||
{
|
||||
if (It.Value().IsValid())
|
||||
{
|
||||
FRepChangelistState* const ChangelistState = It.Value()->GetRepChangelistState();
|
||||
if (ChangelistState && ChangelistState->RepLayout.IsValid())
|
||||
{
|
||||
ChangelistState->RepLayout->AddReferencedObjects(Collector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
It.RemoveCurrent();
|
||||
}
|
||||
}
|
||||
|
||||
for (FObjectReplicator* Replicator : This->AllOwnedReplicators)
|
||||
{
|
||||
Collector.AddReferencedObject(Replicator->ObjectPtr, This);
|
||||
|
||||
Reference in New Issue
Block a user