diff options
Diffstat (limited to 'source/LuaState.cpp')
-rw-r--r-- | source/LuaState.cpp | 2 |
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; |