diff options
author | madmaxoft <github@xoft.cz> | 2014-07-01 15:46:31 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-01 22:28:58 +0200 |
commit | 0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c (patch) | |
tree | 48ed760e02404fe722cb64a26ef54a3e17f7306e /src/Bindings | |
parent | Merge pull request #1122 from mc-server/LuaProxy (diff) | |
download | cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar.gz cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar.bz2 cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar.lz cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar.xz cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.tar.zst cuberite-0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginLua.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp index 96c5ccde7..97366cc4c 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -1714,7 +1714,7 @@ bool cPluginLua::CallbackWindowClosing(int a_FnRef, cWindow & a_Window, cPlayer ASSERT(a_FnRef != LUA_REFNIL); cCSLock Lock(m_CriticalSection); - bool res; + bool res = false; m_LuaState.Call(a_FnRef, &a_Window, &a_Player, a_CanRefuse, cLuaState::Return, res); return res; } |