1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04: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:
Jürgen Doser 2013-01-22 19:00:48 +01:00
parent f214940c96
commit f099861245

View File

@ -244,7 +244,9 @@ public:
updated[name] = true;
}
else //file contains a setting which is not in m_settings
value_changed=true;
return true;
}