Skip to content

Commit

Permalink
fix: hotfix
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mauran <thomasmauran@yahoo.com>
  • Loading branch information
thomas-mauran committed Nov 26, 2024
1 parent 677ee3a commit a24f30d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ impl App {
};
self.selected_color = Some(color);

let empty = "".to_string();
let path = match self.chess_engine_path.as_ref() {
Some(engine_path) => engine_path,
None => &"".to_string(),
None => &empty,
};

// if the selected Color is Black, we need to switch the Game
Expand Down

0 comments on commit a24f30d

Please sign in to comment.