[Base/Core] Add support for transient cvars.

This commit is contained in:
gibbed
2019-08-04 02:12:46 -05:00
parent 9a9a55aa49
commit 7ba460552c
2 changed files with 34 additions and 17 deletions

View File

@@ -61,6 +61,9 @@ void SaveConfig() {
std::ostringstream output;
std::string lastCategory;
for (auto configVar : vars) {
if (configVar->GetIsTransient()) {
continue;
}
if (lastCategory != configVar->GetCategory()) {
if (!lastCategory.empty()) {
output << std::endl;