mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +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,7 +244,9 @@ 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