diff --git a/Il2CppInspector/Reflection/FieldInfo.cs b/Il2CppInspector/Reflection/FieldInfo.cs index 83bb438..e78e01d 100644 --- a/Il2CppInspector/Reflection/FieldInfo.cs +++ b/Il2CppInspector/Reflection/FieldInfo.cs @@ -25,6 +25,8 @@ namespace Il2CppInspector.Reflection { get { if (!HasDefaultValue) return ""; + if (DefaultValue is bool) + return (bool) DefaultValue ? "true" : "false"; if (DefaultValue is string) return $"\"{DefaultValue}\""; if (!(DefaultValue is char))