Fix ShowStructInternal ImGui crash (#2127)

This commit is contained in:
nebel 2024-11-28 05:30:24 +09:00 committed by GitHub
parent f3db18962f
commit 7a52cb85db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1202,7 +1202,6 @@ public static class Util
if (tree.Success)
{
ImGui.PopStyleColor();
foreach (var f in obj.GetType()
.GetFields(BindingFlags.Static | BindingFlags.Public | BindingFlags.Instance))
{