A couple touchups
This commit is contained in:
parent
e0d94e0f06
commit
154d6b989a
@ -103,13 +103,14 @@ bool cPluginLua::Initialize(void)
|
|||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
return false;
|
return false;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
numFiles++;
|
numFiles++;
|
||||||
}
|
}
|
||||||
} // for itr - Files[]
|
} // for itr - Files[]
|
||||||
|
|
||||||
if (numFiles == 0) // no lua files found
|
if (numFiles == 0)
|
||||||
{
|
{
|
||||||
LOGWARNING("No lua files found: plugin %s is missing.", GetName().c_str());
|
LOGWARNING("No lua files found: plugin %s is missing.", GetName().c_str());
|
||||||
Close();
|
Close();
|
||||||
|
Loading…
Reference in New Issue
Block a user