diff --git a/src/interface/uci.rs b/src/interface/uci.rs index 34e296c..621f479 100644 --- a/src/interface/uci.rs +++ b/src/interface/uci.rs @@ -237,6 +237,7 @@ pub fn uci_loop() -> anyhow::Result<()> { Command::UciNewGame => { if let Some(game) = params.game.as_mut() { game.tt = TranspositionTable::new(); + game.history_heuristic = [[[0; 64]; 64]; 2]; game.board = Board::startpos(); } else { let game = Game::new();