mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
Changed: If --config is specified on command-line, we shouldn't check client_default.cfg in current directory
This commit is contained in:
parent
37372ae52c
commit
122c9250bb
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ int main(int argc, char **argv)
|
|||
LoginShardId = std::numeric_limits<uint32>::max();
|
||||
|
||||
// if client_default.cfg is not in current directory, use application default directory
|
||||
if (!CFile::isExists("client_default.cfg"))
|
||||
if (Args.haveArg("c") || !CFile::isExists("client_default.cfg"))
|
||||
{
|
||||
std::string currentPath = CPath::getApplicationDirectory("Ryzom");
|
||||
|
||||
|
|
Loading…
Reference in a new issue