Skip to content

Commit 3010f48

Browse files
committed
fix exe override not being under unrealsdk table
1 parent 1a919c7 commit 3010f48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unrealsdk/game/selector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ std::unique_ptr<AbstractHook> find_correct_hook(std::string_view executable) {
5555

5656
std::unique_ptr<AbstractHook> select_based_on_executable(void) {
5757
auto executable_filename = utils::get_executable().filename().string();
58-
return find_correct_hook(config::get_str("exe_override").value_or(executable_filename));
58+
return find_correct_hook(
59+
config::get_str("unrealsdk.exe_override").value_or(executable_filename));
5960
}
6061

6162
} // namespace unrealsdk::game

0 commit comments

Comments
 (0)