summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-08 14:29:10 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-08 14:29:10 (GMT)
commitc0b45928392efdffbde819842387a041e2d1936a (patch)
treee315dc38d198a8ed05aafa1788293339b271951d /src/cat/LuaScriptInterface.cpp
parent77102f4bbaff9d15617b83e674939b108442ae21 (diff)
downloadpowder-c0b45928392efdffbde819842387a041e2d1936a.zip
powder-c0b45928392efdffbde819842387a041e2d1936a.tar.gz
fix PSCN BRAY (tmp = 2) not stopping normal BRAY from going through
also some other random things
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index d760ae3..4b2e749 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -2135,7 +2135,7 @@ int LuaScriptInterface::Command(std::string command)
}
else
{
- int level = lua_gettop(l), ret;
+ int level = lua_gettop(l), ret = -1;
std::string text = "";
lastError = "";
currentCommand = true;