mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Replace the default value when applying low end defaults so reset button works properly. (#359)
* Replace the default value when applying low end defaults so reset button works properly. * Update video.cpp
This commit is contained in:
parent
854d7412fa
commit
0194c372e9
1 changed files with 2 additions and 0 deletions
|
|
@ -1624,6 +1624,8 @@ static void ApplyLowEndDefault(ConfigDef<T> &configDef, T newDefault, bool &chan
|
||||||
configDef = newDefault;
|
configDef = newDefault;
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configDef.DefaultValue = newDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ApplyLowEndDefaults()
|
static void ApplyLowEndDefaults()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue