From 3e48389d5216849fa7364c3e1043b08c960118a2 Mon Sep 17 00:00:00 2001 From: Jacob Sapoznikow Date: Wed, 19 Jun 2024 16:00:03 -0700 Subject: [PATCH] ok --- crates/plugins/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/plugins/src/macros.rs b/crates/plugins/src/macros.rs index 3134119..3ad562a 100644 --- a/crates/plugins/src/macros.rs +++ b/crates/plugins/src/macros.rs @@ -67,7 +67,7 @@ macro_rules! unity_plugin { fn find(&self) -> Option { 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 {