UI for Inspector, Code improvement and bug fixes

This commit is contained in:
Gurge44 committed 2023-10-20 16:48:17 +02:00
1 parent 1cec7bf9d2
commit 1bb6c3da45
15 files changed
+111 -68

No files matched your search

+1 -2
View File
@@ -74,8 +74,7 @@ public class OptionBackupData
{
var value = AllValues
.OfType<OptionBackupValueBase<TKey, TValue>>()
.Where(val => val.OptionName.Equals(name)).
FirstOrDefault();
.FirstOrDefault(val => val.OptionName.Equals(name));
return value == null ? default : value.Value;
}