Fixed wrong attribute position being modified. Regenerated code files
This commit is contained in:
@@ -222,7 +222,7 @@ namespace CodeGenerator {
|
||||
var x = ctd.Members.OfType<CodeMemberField>().FirstOrDefault(member => member.Name.ParseFName() == listPointerName);
|
||||
|
||||
if (x != null) //Update the existing list attribute
|
||||
x.CustomAttributes[0].Arguments[5] = new(new CodePrimitiveExpression(totalSize));
|
||||
x.CustomAttributes[0].Arguments[9] = new(new CodePrimitiveExpression(totalSize));
|
||||
else //Store the data for when the list attribute is made
|
||||
listCountOffsets.Add(fName, totalSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user