mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Typo fix
This commit is contained in:
parent
5e69f0e51f
commit
55492e8940
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ var Tilemap = new Class({
|
|||
weightedRandomize: function (tileX, tileY, width, height, weightedIndexes, layer)
|
||||
{
|
||||
layer = this.getLayer(layer);
|
||||
if (this._isStaticCall(layer, 'randomize')) { return this; }
|
||||
if (this._isStaticCall(layer, 'weightedRandomize')) { return this; }
|
||||
if (layer !== null)
|
||||
{
|
||||
TilemapComponents.WeightedRandomize(tileX, tileY, width, height, weightedIndexes, layer);
|
||||
|
|
Loading…
Reference in a new issue