diff --git a/Database-Attribute_System/ClassAction.cs b/Database-Attribute_System/ClassAction.cs index 2797c41..b1c030e 100644 --- a/Database-Attribute_System/ClassAction.cs +++ b/Database-Attribute_System/ClassAction.cs @@ -57,9 +57,6 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System // Iterate through data foreach (KeyValuePair data_keySet in data) { - // If the data was set - bool dataIsSet = false; - // Interate through class-fields foreach (KeyValuePair field_keySet in dbFields) { @@ -67,7 +64,6 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System if (field_keySet.Key.ToLower() == data_keySet.Key.ToLower()) { field_keySet.Value.SetValue(classObject, data_keySet.Value); - dataIsSet = true; break; } }