Fix get_property_list get wrong order of properties

This commit is contained in:
alpacat 2024-06-30 19:48:35 +08:00
parent 811ce36c60
commit 2d493e85a9

View File

@ -1515,9 +1515,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);
}
}