Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shevernitskiy committed Feb 14, 2024
1 parent 69540ee commit 57182b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hook/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Config {
for (const auto& filepath : std::filesystem::recursive_directory_iterator(PATH_OFFSETS)) {
auto file = toml::parse_file(filepath.path().c_str());
if (target_checksum == file["metadata"]["checksum"].value_or<time_t>(0)) {
return file;
return *file.as_table();
}
}

Expand Down

0 comments on commit 57182b7

Please sign in to comment.