fix Tilemap.putTile

This commit is contained in:
jcs 2014-01-13 20:18:08 -08:00
parent 011d2d8e05
commit ab02040bea

View file

@ -661,7 +661,7 @@ Phaser.Tilemap.prototype = {
}
else
{
this.layers[layer].data[y][x].index = index;
this.layers[layer].data[y][x].index = tile;
}
this.layers[layer].dirty = true;