new opacity flag

This commit is contained in:
thejohnhoffer 2016-11-04 09:21:04 -04:00
parent c402a7bfdd
commit 171591a7a3

View File

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