summaryrefslogtreecommitdiffstats
path: root/source/LuaState.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-06 19:28:09 +0200
committermadmaxoft <github@xoft.cz>2013-08-06 19:28:09 +0200
commitc55fabb5ad34ec57760b90ea11960f7f426990db (patch)
treeeaa53bca6eff7fca7d4547b46860222d9580af9c /source/LuaState.cpp
parentFixed compilation in ManualBindings (diff)
downloadcuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar.gz
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar.bz2
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar.lz
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar.xz
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.tar.zst
cuberite-c55fabb5ad34ec57760b90ea11960f7f426990db.zip
Diffstat (limited to 'source/LuaState.cpp')
-rw-r--r--source/LuaState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/LuaState.cpp b/source/LuaState.cpp
index e60a0f80c..aa9d796c3 100644
--- a/source/LuaState.cpp
+++ b/source/LuaState.cpp
@@ -420,7 +420,7 @@ bool cLuaState::CallFunction(int a_NumResults)
int s = lua_pcall(m_LuaState, m_NumCurrentFunctionArgs, a_NumResults, 0);
if (ReportErrors(s))
{
- LOGWARNING("Error in %s calling function %s()", m_SubsystemName.c_str(), m_CurrentFunctionName);
+ LOGWARNING("Error in %s calling function %s()", m_SubsystemName.c_str(), m_CurrentFunctionName.c_str());
m_NumCurrentFunctionArgs = -1;
m_CurrentFunctionName.clear();
return false;