From 57182b7a7e00ad4e8b15ebdf41ab2f3dd965461c Mon Sep 17 00:00:00 2001 From: shevernitskiy Date: Wed, 14 Feb 2024 09:31:26 +0300 Subject: [PATCH] fix --- src/hook/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hook/config.h b/src/hook/config.h index 24255d0..8c62951 100644 --- a/src/hook/config.h +++ b/src/hook/config.h @@ -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(0)) { - return file; + return *file.as_table(); } }