mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
fix Mod::setSettingValue
This commit is contained in:
parent
69fabc1fd9
commit
58477bbd2c
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ namespace geode {
|
|||
template <class T>
|
||||
T setSettingValue(std::string const& key, T const& value) {
|
||||
if (auto sett = this->getSetting(key)) {
|
||||
auto old = this->getSettingValue<T>(sett);
|
||||
auto old = this->getSettingValue<T>(key);
|
||||
SettingValueSetter<T>::set(sett, value);
|
||||
return old;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue