diff options
Diffstat (limited to 'src/Bindings/PluginLua.cpp')
-rw-r--r-- | src/Bindings/PluginLua.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp index 196a4f730..eefcd2b09 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -103,13 +103,14 @@ bool cPluginLua::Initialize(void) { Close(); return false; - } else + } + else { numFiles++; } } // 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()); Close(); |