Core/Config: Refactored ConfigMgr
* Loading initial configuration files is now separate from loading any additional custom configs
This commit is contained in:
1 parent
baeecba6c9
commit
779a59e7e2
16 files changed
+470
-424
No files matched your search
@@ -129,7 +129,7 @@ extern int main(int argc, char **argv)
|
||||
++c;
|
||||
}
|
||||
|
||||
if (!ConfigMgr::Load(cfg_file))
|
||||
if (!sConfigMgr->LoadInitial(cfg_file))
|
||||
{
|
||||
printf("Invalid or missing configuration file : %s\n", cfg_file);
|
||||
printf("Verify that the file exists and has \'[worldserver]' written in the top of the file!\n");
|
||||
|
||||
Reference in new issue
Block a user