From 0aaee4f6f4b068b0f9d9684a2f765e1cba984dcf Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 3 Jan 2021 04:45:20 +0100 Subject: [PATCH] meh hacky soluton --- src/azul.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/azul.rs b/src/azul.rs index 2769a64..3771391 100644 --- a/src/azul.rs +++ b/src/azul.rs @@ -215,7 +215,6 @@ impl Game { }; let target = match game_move.2 { - 0 => &mut board.floor, 1..=5 =>&mut board.patterns .split_at_mut(game_move.2 - 1).1 .split_at_mut(game_move.2).0