From d24c310db601b729a5de0c1dd23b647000a92bc6 Mon Sep 17 00:00:00 2001 From: 0TheSpy <5511c282@opayq.com> Date: Mon, 14 Nov 2022 18:41:10 +0300 Subject: [PATCH] Update Config.hpp --- SpyCustom/Config.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SpyCustom/Config.hpp b/SpyCustom/Config.hpp index 011c44b..ac11a16 100644 --- a/SpyCustom/Config.hpp +++ b/SpyCustom/Config.hpp @@ -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(); + } }