summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-01 15:46:31 +0200
committermadmaxoft <github@xoft.cz>2014-07-01 22:28:58 +0200
commit0dfaad4123bc50202f97fc0e5d9fc5d3a9c8670c (patch)
tree48ed760e02404fe722cb64a26ef54a3e17f7306e
parentMerge pull request #1122 from mc-server/LuaProxy (diff)
downloadcuberite-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.cpp2
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;
}