mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
fix Tilemap.putTile
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user