summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaWindow.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-01-09 15:56:16 +0100
committerGitHub <noreply@github.com>2017-01-09 15:56:16 +0100
commitf62711f97cd8b337ca4823bb6d1834f324762fc7 (patch)
treeb50c1f2e89f1fc6f8b3c41097d9eae7690d291fd /src/Bindings/LuaWindow.cpp
parentAdded 1.11 smelting recipes and fuels (#3526) (diff)
downloadcuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar.gz
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar.bz2
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar.lz
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar.xz
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.tar.zst
cuberite-f62711f97cd8b337ca4823bb6d1834f324762fc7.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/LuaWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaWindow.cpp b/src/Bindings/LuaWindow.cpp
index 6fffa7aac..83463520c 100644
--- a/src/Bindings/LuaWindow.cpp
+++ b/src/Bindings/LuaWindow.cpp
@@ -116,7 +116,7 @@ bool cLuaWindow::ClosedByPlayer(cPlayer & a_Player, bool a_CanRefuse)
bool res;
if (
m_OnClosing->Call(this, &a_Player, a_CanRefuse, cLuaState::Return, res) && // The callback succeeded
- res // The callback says not to close the window
+ res // The callback says not to close the window
)
{
// The callback disagrees (the higher levels check the CanRefuse flag compliance)