summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-22 00:08:01 +0000
committerpixel <pixel>2004-12-22 00:08:01 +0000
commitf338a30a497138841e462fa6a45e6a7f52d8b52f (patch)
treeb11df9ac91c33222cf04e9068b77a9585f05c67e /lib
parentcb2a6d2b78ad13977fbc4342344abeb8d6a503c0 (diff)
DUUUUUUUUUuuuuuuuuuuuhh.... how was it working before?!
Diffstat (limited to 'lib')
-rw-r--r--lib/BLua.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 5e046fd..5ec58e1 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: BLua.cc,v 1.24 2004-12-17 11:46:41 pixel Exp $ */
+/* $Id: BLua.cc,v 1.25 2004-12-22 00:08:01 pixel Exp $ */
#include "BLua.h"
#include <lualib.h>
@@ -206,8 +206,8 @@ int LuaStatics::hex(lua_State * _L) {
}
Lua::Lua() : L(lua_open()) {
- lua_atpanic(L, LuaStatics::luapanic);
lualist[L] = this;
+ lua_atpanic(L, LuaStatics::luapanic);
declarefunc("andB", LuaStatics::andB);
declarefunc("orB", LuaStatics::orB);