Skip to content

Commit

Permalink
Merge pull request #93779 from hayahane/fix_get_property_cs
Browse files Browse the repository at this point in the history
[C#] Fix `get_property_list` get wrong order of properties
  • Loading branch information
akien-mga committed Sep 13, 2024
2 parents 04456cf + 2d493e8 commit 40d8d82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/mono/csharp_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1524,9 +1524,10 @@ void CSharpInstance::get_property_list(List<PropertyInfo> *p_properties) const {
}
}

props.reverse();
for (PropertyInfo &prop : props) {
validate_property(prop);
p_properties->push_back(prop);
p_properties->push_front(prop);
}
}

Expand Down

0 comments on commit 40d8d82

Please sign in to comment.