mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
UI for Inspector, Code improvement and bug fixes
This commit is contained in:
1 parent
1cec7bf9d2
commit
1bb6c3da45
15 files changed
+111
-68
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user