Update Config.hpp

This commit is contained in:
0TheSpy
2021-06-17 01:47:52 +03:00
committed by GitHub
parent 5a476890e5
commit e1b16daa74

View File

@ -71,8 +71,8 @@ public:
opt.loading = 1; opt.loading = 1;
if (file_exists("seaside210616.cfg") ) { if (file_exists("seaside210407.cfg") ) {
std::ifstream fin("seaside210616.cfg", std::ios::binary); std::ifstream fin("seaside210407.cfg", std::ios::binary);
std::stringstream ss; std::stringstream ss;
ss << fin.rdbuf(); ss << fin.rdbuf();
@ -95,9 +95,9 @@ public:
fin.close(); fin.close();
OnLoadCfg(); OnLoadCfg();
} }
else iff.g_pGameUI->CreateCommandMsgBox("Seaside Error", "Unable to find configuration file!", true, false, "", "", "", "", "");
else PlaySoundA((char*)"null", opt.hModuleGlobal, SND_ASYNC);
} }
}; };