This commit is contained in:
Simon Gardling 2025-04-09 21:30:54 -04:00
parent 02b88f67ac
commit 80db0a872d
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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;
}