We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adfb7cc commit a7ce4acCopy full SHA for a7ce4ac
1 file changed
LastDesirePro196/LastDesirePro/Menu/ConfigManager.cs
@@ -53,9 +53,9 @@ public static void SaveConfig(Dictionary<string, object> Config) =>
53
File.WriteAllText(ConfigPath, JsonConvert.SerializeObject(Config, Formatting.Indented));
54
public static void LoadConfig(Dictionary<string, object> Config)
55
{
56
- foreach (Type AssemblyType in Assembly.GetExecutingAssembly().GetTypes())
+ foreach (var AssemblyType in Assembly.GetExecutingAssembly().GetTypes())
57
58
- foreach (FieldInfo FInfo in AssemblyType.GetFields()
+ foreach (var FInfo in AssemblyType.GetFields()
59
.Where(f => Attribute.IsDefined(f, typeof(SaveAttribute)))
60
)
61
0 commit comments