|
@@ -309,7 +309,7 @@ impl MoveGenerator {
|
|
}
|
|
}
|
|
|
|
|
|
pub fn is_empty(&self) -> bool {
|
|
pub fn is_empty(&self) -> bool {
|
|
- return self.moves.is_empty() && self.captures.is_empty() && self.counters.is_empty() && self.quiets.is_empty();
|
|
|
|
|
|
+ return self.moves.is_empty() && self.captures.is_empty() && self.counters.is_empty() && self.quiets.is_empty() && self.losing_captures.is_empty();
|
|
}
|
|
}
|
|
|
|
|
|
pub fn is_late(&self) -> bool {
|
|
pub fn is_late(&self) -> bool {
|