mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
remove dead code for deprecated config format
This commit is contained in:
parent
26ef39827e
commit
7919f81927
@ -177,15 +177,6 @@ void TConfig::CreateConfigFile() {
|
|||||||
if (mDisableConfig) {
|
if (mDisableConfig) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
|
||||||
if (fs::exists("Server.cfg")) {
|
|
||||||
// parse it (this is weird and bad and should be removed in some future version)
|
|
||||||
// ParseOldFormat();
|
|
||||||
}
|
|
||||||
} catch (const std::exception& e) {
|
|
||||||
beammp_error("an error occurred and was ignored during config transfer: " + std::string(e.what()));
|
|
||||||
}
|
|
||||||
|
|
||||||
FlushToFile();
|
FlushToFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user