about summary refs log tree commit diff
path: root/LibMatrix/Extensions/EnumerableExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Extensions/EnumerableExtensions.cs')
-rw-r--r--LibMatrix/Extensions/EnumerableExtensions.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/LibMatrix/Extensions/EnumerableExtensions.cs b/LibMatrix/Extensions/EnumerableExtensions.cs
index 0c98bfe..42d9491 100644
--- a/LibMatrix/Extensions/EnumerableExtensions.cs
+++ b/LibMatrix/Extensions/EnumerableExtensions.cs
@@ -8,6 +8,7 @@ public static class EnumerableExtensions {
                 oldState.Add(stateEvent);
                 continue;
             }
+
             oldState.Remove(old);
             oldState.Add(stateEvent);
         }
@@ -20,9 +21,9 @@ public static class EnumerableExtensions {
                 oldState.Add(stateEvent);
                 continue;
             }
+
             oldState.Remove(old);
             oldState.Add(stateEvent);
         }
     }
-
-}
+}
\ No newline at end of file