diff options
Diffstat (limited to 'NesTiler/Tile.cs')
-rw-r--r-- | NesTiler/Tile.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/NesTiler/Tile.cs b/NesTiler/Tile.cs index f77352a..b1b52fd 100644 --- a/NesTiler/Tile.cs +++ b/NesTiler/Tile.cs @@ -44,6 +44,7 @@ namespace com.clusterrr.Famicom.NesTiler public bool Equals(Tile other)
{
+ if (other == null) return false;
var data1 = GetAsPatternData();
var data2 = other.GetAsPatternData();
return Enumerable.SequenceEqual(data1, data2);
|