- always save the entire config.

It is a major hassle if values cannot be looked up and then change when switching between branches etc.
This commit is contained in:
Christoph Oelckers 2019-09-23 21:27:23 +02:00
parent 568f01792f
commit a5441061e9

View file

@ -2206,7 +2206,7 @@ void OSD_WriteCvars(buildvfs_FILE fp)
{ {
osdcvardata_t const &pData = *osd->cvars[i].pData; osdcvardata_t const &pData = *osd->cvars[i].pData;
if (!(pData.flags & CVAR_NOSAVE) && OSD_CvarModified(&osd->cvars[i])) if (!(pData.flags & CVAR_NOSAVE))
{ {
switch (pData.flags & CVAR_TYPEMASK) switch (pData.flags & CVAR_TYPEMASK)
{ {