Skip to content

Commit 55492e8

Browse files
committed
Typo fix
1 parent 5e69f0e commit 55492e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/gameobjects/tilemap/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ var Tilemap = new Class({
12141214
weightedRandomize: function (tileX, tileY, width, height, weightedIndexes, layer)
12151215
{
12161216
layer = this.getLayer(layer);
1217-
if (this._isStaticCall(layer, 'randomize')) { return this; }
1217+
if (this._isStaticCall(layer, 'weightedRandomize')) { return this; }
12181218
if (layer !== null)
12191219
{
12201220
TilemapComponents.WeightedRandomize(tileX, tileY, width, height, weightedIndexes, layer);

0 commit comments

Comments
 (0)