Show neighbor cells if boats can't touch
This commit is contained in:
@ -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!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user