add MoveFromFoundationConfig

This commit is contained in:
2026-05-29 11:57:16 -07:00
parent 035875c893
commit ffd25079a9
5 changed files with 47 additions and 17 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ fn main() -> Result<(), std::io::Error> {
}
}
SessionInstruction::Auto => {
if let Some(instruction) = session.state().get_auto_move() {
if let Some(instruction) = session.state().get_auto_move(session.config()) {
session.process_instruction(instruction);
} else {
println!("No valid moves!");