mirror of
https://github.com/minetest/minetest.git
synced 2025-03-14 14:22:36 +01:00
Fix settings callback "call" lost on rebase
This commit is contained in:
@ -635,9 +635,12 @@ bool Settings::getFlagStrNoEx(const std::string &name, u32 &val,
|
||||
|
||||
void Settings::set(const std::string &name, const std::string &value)
|
||||
{
|
||||
{
|
||||
JMutexAutoLock lock(m_mutex);
|
||||
|
||||
m_settings[name].value = value;
|
||||
}
|
||||
doCallbacks(name);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user