diff --git a/includes/script.js b/includes/script.js index e79ecbe..1ec35fc 100644 --- a/includes/script.js +++ b/includes/script.js @@ -293,7 +293,7 @@ $(document).ready(function() { // even if we want to "always create new tiles" we still don't want to create duplicates // THIS SEEMS TO NOT BE WORKING var bestMatch = _.find(bitsyData.tiles, function(tile) { - return tile.bitmap === pseudoTile; + return _.isEqual(tile.bitmap, pseudoTile); }); if (bestMatch) {