diff options
-rw-r--r-- | include/BLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/BLua.h b/include/BLua.h index a6ed935..f892e62 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -182,7 +182,7 @@ class Lua : public Base { return r; } - lua_State * getstate() { return lua_State; } + lua_State * getstate() { return L; } protected: virtual Lua * spawn_from_thread(lua_State *); Lua(lua_State *); |