This commit is contained in:
Simon Gardling 2025-01-24 10:17:43 -05:00
parent db91776dad
commit 7cfd5b5733
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -38,7 +38,7 @@ impl Board {
// TODO! propegate from propegated pieces
fn propegate_from(&mut self, i: usize, j: usize) {
// returns if that place is empty
let Some(starting_color) = self.get(i, j).clone() else {
let Some(starting_color) = *self.get(i, j) else {
return;
};