From 58477bbd2c312aea63cd36d3f1d0f30d757a91c6 Mon Sep 17 00:00:00 2001 From: ConfiG Date: Thu, 1 Jun 2023 23:03:02 +0300 Subject: [PATCH] fix Mod::setSettingValue --- loader/include/Geode/loader/Mod.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/include/Geode/loader/Mod.hpp b/loader/include/Geode/loader/Mod.hpp index 479b4e88..1010f2a6 100644 --- a/loader/include/Geode/loader/Mod.hpp +++ b/loader/include/Geode/loader/Mod.hpp @@ -153,7 +153,7 @@ namespace geode { template T setSettingValue(std::string const& key, T const& value) { if (auto sett = this->getSetting(key)) { - auto old = this->getSettingValue(sett); + auto old = this->getSettingValue(key); SettingValueSetter::set(sett, value); return old; }