meh hacky soluton

This commit is contained in:
Daniel Olsen 2021-01-03 04:45:20 +01:00
parent 9933865a26
commit 0aaee4f6f4
1 changed files with 0 additions and 1 deletions

View File

@ -215,7 +215,6 @@ impl Game {
}; };
let target = match game_move.2 { let target = match game_move.2 {
0 => &mut board.floor,
1..=5 =>&mut board.patterns 1..=5 =>&mut board.patterns
.split_at_mut(game_move.2 - 1).1 .split_at_mut(game_move.2 - 1).1
.split_at_mut(game_move.2).0 .split_at_mut(game_move.2).0