# HG changeset patch # User alys # Date 2021-04-10 04:52:29 # Node ID a559764ef4c9ea1503f0d15870fb412745aaab9b # Parent a68150b89f17c7c9f24f20ae164ce44728c31d9b Fix bug in Edge's Equals method. diff --git a/isometric-park-fna/Tile.cs b/isometric-park-fna/Tile.cs --- a/isometric-park-fna/Tile.cs +++ b/isometric-park-fna/Tile.cs @@ -23,7 +23,7 @@ public override bool Equals(Object other) { return ((other != null) - && ! this.GetType().Equals(other.GetType()) + && this.GetType().Equals(other.GetType()) && this == (Edge)other); //we just confirmed the types match so this is okay }