Update Config.hpp

This commit is contained in:
0TheSpy 2022-11-14 18:41:10 +03:00 committed by GitHub
parent 406f382879
commit d24c310db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,14 @@ public:
rename(name.c_str(), newname.c_str());
Refresh();
if (opt.autoconfig == selected)
{
ofstream autoload;
autoload.open("seaside_autoload");
autoload << Config::Get().configs[selected];
autoload.close();
}
}