Skip to content

Commit 740a5f1

Browse files
committed
Fix unsupported platform return for _search_for_game_path
1 parent b7b6591 commit 740a5f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openvic-simulation/dataloader/Vic2PathSearch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ static fs::path _search_for_game_path(fs::path hint_path) {
180180
// All platforms that reach this point do not seem to even have unofficial Steam support
181181
#else
182182
spdlog::warn_s("Could not find path for Steam installation on unsupported platform.");
183+
return {};
183184
#endif
184185
}
185186

0 commit comments

Comments
 (0)