1
0

A couple touchups

This commit is contained in:
Bill Derouin 2014-01-08 13:45:16 -06:00
parent e0d94e0f06
commit 154d6b989a

View File

@ -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();