Browse Source

Fixed problem where BaseObject.PropertyChanged was being called even if value didn't actually change

Kenric Nugteren 3 days ago
parent
commit
9ed995fcf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      InABox.Core/Objects/BaseObject.cs

+ 1 - 1
InABox.Core/Objects/BaseObject.cs

@@ -384,7 +384,7 @@ namespace InABox.Core
         {
             if (!IsObserving())
             {
-                if (_observingOnlyCascades)
+                if (_observingOnlyCascades && BaseObjectExtensions.HasChanged(before, after))
                 {
                     try
                     {