Fix loading debug messages to avoid confusion

This commit is contained in:
Rochet2
2014-10-23 14:54:57 +03:00
parent 0d7318c109
commit d7920b4bb7

View File

@@ -278,7 +278,7 @@ void Eluna::RunScripts()
if (!lua_isnoneornil(L, -1)) if (!lua_isnoneornil(L, -1))
{ {
lua_pop(L, 1); lua_pop(L, 1);
ELUNA_LOG_DEBUG("[Eluna]: Extension was already loaded or required `%s`", it->filepath.c_str()); ELUNA_LOG_DEBUG("[Eluna]: `%s` was already loaded or required", it->filepath.c_str());
continue; continue;
} }
lua_pop(L, 1); lua_pop(L, 1);
@@ -296,7 +296,7 @@ void Eluna::RunScripts()
++count; ++count;
continue; continue;
} }
ELUNA_LOG_ERROR("[Eluna]: Error loading extension `%s`", it->filepath.c_str()); ELUNA_LOG_ERROR("[Eluna]: Error loading `%s`", it->filepath.c_str());
report(L); report(L);
} }
lua_pop(L, 2); lua_pop(L, 2);