Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Jun 19, 2024
1 parent 37dcf71 commit 3e48389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/plugins/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ macro_rules! unity_plugin {
fn find(&self) -> Option<std::path::PathBuf> {
use $crate::whcore::finder::finder::InstallFinder;

$crate::whcore::finder::steam::Steam::new().find_game($dir).unwrap()
$crate::whcore::finder::steam::Steam::new().find_game($dir).ok().flatten()
}

fn name(&self) -> &'static str {
Expand Down

0 comments on commit 3e48389

Please sign in to comment.