FIX: cat_save doesn't have newlines

This commit is contained in:
nullifiedcat 2017-03-23 14:49:30 +03:00
parent 7a9a1cc578
commit a93f439ded

View File

@ -193,7 +193,7 @@ CatCommand save_settings("save", "Save settings (optional filename)", [](const C
for (auto i : g_ConVars) {
if (i) {
if (strcmp(i->GetString(), i->GetDefault())) {
file << i->GetName() << " \"" << i->GetString() << "\"";
file << i->GetName() << " \"" << i->GetString() << "\"\n";
}
}
}