Show neighbor cells if boats can't touch

This commit is contained in:
2022-10-08 10:35:14 +02:00
parent 6e423f41ef
commit c7bfdb8d74
3 changed files with 21 additions and 4 deletions

View File

@ -318,7 +318,7 @@ impl BoatsLayout {
.iter()
.any(|c| boat_j_coords.contains(c))
{
errors.push("A collision between two boats has been detected!");
errors.push("Two boats are touching!");
}
}
}