Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MedovTimur committed Jun 26, 2024
1 parent 1f1c272 commit 97d9cfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/zk-battleship/app/src/services/multiple/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ impl MultipleGame {
data.board[step as usize] = Entity::BoomShip;
data.succesfull_shots += 1;
}
2 => Self::dead_ship(step, &mut data.board),
2 => {
Self::dead_ship(step, &mut data.board);
data.succesfull_shots += 1;
}
_ => unimplemented!(),
}
}
Expand Down

0 comments on commit 97d9cfe

Please sign in to comment.