GRIM: Added newlines for lua debug traces

This commit is contained in:
Paweł Kołodziejski 2022-01-16 08:57:31 +01:00
parent 6c850c8f2e
commit 63faf359eb
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -73,7 +73,7 @@ void Lua_V1::PrintDebug() {
if (!lua_isstring(strObj))
return;
msg += Common::String(lua_getstring(strObj));
debugN("%s", msg.c_str());
debugN("%s\n", msg.c_str());
}
}
@ -86,7 +86,7 @@ void Lua_V1::PrintError() {
if (!lua_isstring(strObj))
return;
msg += Common::String(lua_getstring(strObj));
debugN("%s", msg.c_str());
debugN("%s\n", msg.c_str());
}
}
@ -99,7 +99,7 @@ void Lua_V1::PrintWarning() {
if (!lua_isstring(strObj))
return;
msg += Common::String(lua_getstring(strObj));
debugN("%s", msg.c_str());
debugN("%s\n", msg.c_str());
}
}