diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index e01519b..1590ede 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -519,7 +519,7 @@ impl FutureMoves { return; } - // only prune moves of the agent + // only prune moves of the agent (children of opposite color) if indexes.first().map(|&i| self.arena[i].color) != Some(self.agent_color) { continue; }