remove unnecessary ID increments

This commit is contained in:
Max Bradbury 2020-07-22 17:13:45 +01:00
parent ce639ef6db
commit 5ace686e22
1 changed files with 0 additions and 8 deletions

View File

@ -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;
}
}
}