Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewesthad committed Dec 3, 2017
1 parent 5e69f0e commit 55492e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3/src/gameobjects/tilemap/Tilemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 55492e8

Please sign in to comment.