mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 11:26:12 +02: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,7 +244,9 @@ class Settings
|
|||
|
||||
updated[name] = true;
|
||||
}
|
||||
|
||||
else //file contains a setting which is not in m_settings
|
||||
value_changed=true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue