diff --git a/Dota2GSI/Nodes/Node.cs b/Dota2GSI/Nodes/Node.cs index 9007cd6..ec3a50f 100644 --- a/Dota2GSI/Nodes/Node.cs +++ b/Dota2GSI/Nodes/Node.cs @@ -295,7 +295,7 @@ public override string ToString() public override bool Equals(object obj) { return obj is NodeMap other && - Count == other.Count && !this.Except(other).Any(); + this.SequenceEqual(other); } /// @@ -360,7 +360,7 @@ public override string ToString() public override bool Equals(object obj) { return obj is NodeList other && - Count == other.Count && !this.Except(other).Any(); + this.SequenceEqual(other); } ///