mirror of
https://github.com/minetest/minetest.git
synced 2024-11-04 23:03:46 +01:00
Make sure that settings are written to config file when settings are removed.
Previously, settings where only written when a value has changed, and removal of a setting value didn't count as a change.
This commit is contained in:
parent
f214940c96
commit
f099861245
@ -244,6 +244,8 @@ public:
|
||||
|
||||
updated[name] = true;
|
||||
}
|
||||
else //file contains a setting which is not in m_settings
|
||||
value_changed=true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user