Skip to content

Commit

Permalink
Fix a panic on guess click analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerNet committed Sep 27, 2024
1 parent fb254ed commit 0c3d3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minesweeper-lib/src/replay/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl MinesweeperAnalysis {
.any(|pair| p == pair.ref_a() || p == pair.ref_b())
})
.copied()
.collect::<ArrayVec<[BoardPoint; 6]>>();
.collect::<ArrayVec<[BoardPoint; 8]>>();

if non_fifty_fiftys.is_empty() {
return analysis_result;
Expand Down

0 comments on commit 0c3d3bc

Please sign in to comment.