diff --git a/changelog.md b/changelog.md index 3005358..72ac444 100644 --- a/changelog.md +++ b/changelog.md @@ -13,6 +13,11 @@ [6222756c](https://github.com/bl-sdk/unrealsdk/commit/6222756c) +- Fixed checking the setting `exe_override` rather than the full `unrealsdk.exe_override`, like how + it was documented / originally intended. + + [3010f486](https://github.com/bl-sdk/unrealsdk/commit/3010f486) + ## 1.7.0 - `unrealsdk::unreal::cast` now copies the const-ness of its input object to its callbacks. diff --git a/src/unrealsdk/game/selector.cpp b/src/unrealsdk/game/selector.cpp index f33dbee..0c9a609 100644 --- a/src/unrealsdk/game/selector.cpp +++ b/src/unrealsdk/game/selector.cpp @@ -55,7 +55,8 @@ std::unique_ptr find_correct_hook(std::string_view executable) { std::unique_ptr select_based_on_executable(void) { auto executable_filename = utils::get_executable().filename().string(); - return find_correct_hook(config::get_str("exe_override").value_or(executable_filename)); + return find_correct_hook( + config::get_str("unrealsdk.exe_override").value_or(executable_filename)); } } // namespace unrealsdk::game