using the strict === comparison

This commit is contained in:
thejohnhoffer 2016-11-04 09:24:08 -04:00
parent 171591a7a3
commit 9548ad6a27

View File

@ -1533,7 +1533,7 @@ function compareTiles( previousBest, tile ) {
}
function drawTiles( tiledImage, lastDrawn ) {
if (this.opacity == 0 || lastDrawn.length === 0) {
if (this.opacity === 0 || lastDrawn.length === 0) {
return;
}
var tile = lastDrawn[0];