remove unnecessary ID increments
This commit is contained in:
parent
ce639ef6db
commit
5ace686e22
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue