Skip to content

Commit

Permalink
fix: reflection: use proper FIRInstancedStruct Object reference colle…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Panakotta00 committed Nov 15, 2024
1 parent 0e2c94f commit 788185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FicsItReflection/Private/FIRInstancedStruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void FFIRInstancedStruct::AddStructReferencedObjects(FReferenceCollector& Collec
UScriptStruct* ThisStruct = Struct;
if (Struct) Collector.AddReferencedObject(ThisStruct);
if (Struct && Data) {
if (Struct->GetCppStructOps()->HasAddStructReferencedObjects()) Struct->GetCppStructOps()->AddStructReferencedObjects()(Data, Collector);
Collector.AddPropertyReferencesWithStructARO(Struct, Data);
}
}

Expand Down

0 comments on commit 788185c

Please sign in to comment.