From 55492e89408d41fbb646c58fd1fc4ded09d0bb3f Mon Sep 17 00:00:00 2001 From: Michael Hadley Date: Sun, 3 Dec 2017 15:31:05 -0600 Subject: [PATCH] Typo fix --- v3/src/gameobjects/tilemap/Tilemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/src/gameobjects/tilemap/Tilemap.js b/v3/src/gameobjects/tilemap/Tilemap.js index c4b2b31df..ecb3e5ea3 100644 --- a/v3/src/gameobjects/tilemap/Tilemap.js +++ b/v3/src/gameobjects/tilemap/Tilemap.js @@ -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);