mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
changed the client configuration initialisation
This commit is contained in:
parent
49cefa406b
commit
3c082b6441
|
@ -2017,6 +2017,9 @@ int main(int argc, const char **argv) // ignore_convention
|
|||
// init client's interfaces
|
||||
m_Client.InitInterfaces();
|
||||
|
||||
// execute config file
|
||||
pConsole->ExecuteFile("settings.cfg");
|
||||
|
||||
// execute autoexec file
|
||||
pConsole->ExecuteFile("autoexec.cfg");
|
||||
|
||||
|
@ -2024,9 +2027,6 @@ int main(int argc, const char **argv) // ignore_convention
|
|||
if(argc > 1) // ignore_convention
|
||||
pConsole->ParseArguments(argc-1, &argv[1]); // ignore_convention
|
||||
|
||||
// execute config file
|
||||
pConsole->ExecuteFile("settings.cfg");
|
||||
|
||||
m_Client.Engine()->InitLogfile();
|
||||
|
||||
// run the client
|
||||
|
|
Loading…
Reference in a new issue