diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 00b96cf..280df8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,7 @@ fn main() { None => { let new_board = game::GameBoard::new(json_state); let (command, cache) = - choose_move(&new_board, strategy_cache, &start_time, max_time); + choose_move(&new_board, strategy_cache, start_time, max_time); strategy_cache = Some(cache); game_board = Some(new_board); command @@ -34,7 +34,7 @@ fn main() { Some(game_board) => { game_board.update(json_state); let (command, cache) = - choose_move(&game_board, strategy_cache, &start_time, max_time); + choose_move(&game_board, strategy_cache, start_time, max_time); strategy_cache = Some(cache); command } |