summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);