1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04:00

Fix settings callback "call" lost on rebase

This commit is contained in:
sapier 2014-12-01 19:47:57 +01:00
parent 691b18c41b
commit 93aab0362c

View File

@ -635,9 +635,12 @@ 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);
} }