mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix settings callback "call" lost on rebase
This commit is contained in:
@@ -634,11 +634,14 @@ bool Settings::getFlagStrNoEx(const std::string &name, u32 &val,
|
|||||||
|
|
||||||
|
|
||||||
void Settings::set(const std::string &name, const std::string &value)
|
void Settings::set(const std::string &name, const std::string &value)
|
||||||
|
{
|
||||||
{
|
{
|
||||||
JMutexAutoLock lock(m_mutex);
|
JMutexAutoLock lock(m_mutex);
|
||||||
|
|
||||||
m_settings[name].value = value;
|
m_settings[name].value = value;
|
||||||
}
|
}
|
||||||
|
doCallbacks(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void Settings::setGroup(const std::string &name, Settings *group)
|
void Settings::setGroup(const std::string &name, Settings *group)
|
||||||
|
Reference in New Issue
Block a user