minor: don't bother reparsing the sources for includes if ReadConfig() was unsuccessful
parent
1fcb919798
commit
a4acf485d7
|
@ -179,10 +179,11 @@ namespace OpenSim
|
|||
for (int i = 0 ; i < sources.Count ; i++)
|
||||
{
|
||||
if (ReadConfig(sources[i]))
|
||||
{
|
||||
iniFileExists = true;
|
||||
|
||||
AddIncludes(sources);
|
||||
}
|
||||
}
|
||||
|
||||
if (!iniFileExists)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue