aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/script
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/script')
-rw-r--r--engines/sword25/script/luascript.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sword25/script/luascript.cpp b/engines/sword25/script/luascript.cpp
index c6cfeb96ce..38363df94b 100644
--- a/engines/sword25/script/luascript.cpp
+++ b/engines/sword25/script/luascript.cpp
@@ -150,7 +150,7 @@ bool BS_LuaScriptEngine::ExecuteFile(const Common::String &FileName) {
#ifdef DEBUG
int __startStackDepth = lua_gettop(m_State);
#endif
- debug(0, "ExecuteFile(%s)", FileName.c_str());
+ debug(2, "ExecuteFile(%s)", FileName.c_str());
// Get a pointer to the package manager
BS_PackageManager *pPackage = static_cast<BS_PackageManager *>(BS_Kernel::GetInstance()->GetService("package"));
@@ -221,8 +221,6 @@ bool BS_LuaScriptEngine::RegisterStandardLibs() {
// -----------------------------------------------------------------------------
bool BS_LuaScriptEngine::ExecuteBuffer(const char *Data, unsigned int Size, const Common::String &Name) const {
- debug(0, "ExecuteBuffer()");
-
// Compile buffer
if (luaL_loadbuffer(m_State, Data, Size, Name.c_str()) != 0) {
BS_LOG_ERRORLN("Couldn't compile \"%s\":\n%s", Name.c_str(), lua_tostring(m_State, -1));