Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20250205 bram #68

Open
wants to merge 11 commits into
base: 20250127-tla-plus-model
Choose a base branch
from
5 changes: 2 additions & 3 deletions src/potato_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,6 @@ impl PotatoHandler {
}

let convert_info_list = |allocator: &mut AllocEncoder,
_my_turn: bool,
my_info_list: &[NodePtr]|
-> Result<Vec<GameStartInfo>, Error> {
let mut result_start_info = Vec::new();
Expand All @@ -842,8 +841,8 @@ impl PotatoHandler {
Ok(result_start_info)
};

let my_result_start_info = convert_info_list(env.allocator, true, &my_info_list)?;
let their_result_start_info = convert_info_list(env.allocator, false, &their_info_list)?;
let my_result_start_info = convert_info_list(env.allocator, &my_info_list)?;
let their_result_start_info = convert_info_list(env.allocator, &their_info_list)?;

Ok((my_result_start_info, their_result_start_info))
}
Expand Down
Loading