diff --git a/src/lib.rs b/src/lib.rs index fe2fd21..a7316bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -96,8 +96,6 @@ pub fn add_tiles( if !game.tiles.contains(&inverted) { game.add_tile(inverted); - - tile_index += 1; } } @@ -111,8 +109,6 @@ pub fn add_tiles( if !game.tiles.contains(&flipped) { game.add_tile(flipped); - - tile_index += 1; } } @@ -126,8 +122,6 @@ pub fn add_tiles( if !game.tiles.contains(&mirrored) { game.add_tile(mirrored); - - tile_index += 1; } } @@ -145,8 +139,6 @@ pub fn add_tiles( if !game.tiles.contains(&rotated) { game.add_tile(rotated); - - tile_index += 1; } } }