Skip to content

Commit 5b8b4b9

Browse files
committed
Fix bug in random seed not being properly used when generating connected tiles
1 parent d369b9e commit 5b8b4b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/TSMapEditor/Mutations/Classes/DrawConnectedTilesMutation.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public DrawConnectedTilesMutation(IMutationTarget mutationTarget, List<Point2D>
2727
this.startingSide = startingSide;
2828

2929
this.originLevel = mutationTarget.Map.GetTile(path[0]).Level + extraHeight;
30+
this.randomSeed = randomSeed;
3031
this.random = new Random(randomSeed);
3132
}
3233

0 commit comments

Comments
 (0)