Minor preemptive bugfixes

This commit is contained in:
Kayne Ruse
2014-08-15 08:04:14 +10:00
parent 5af0a7999c
commit f1080151e3
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -80,8 +80,7 @@ static int getDepth(lua_State* L) {
static int load(lua_State* L) { static int load(lua_State* L) {
//EMPTY //EMPTY
lua_pushboolean(L, false); return 0;
return 1;
} }
static int save(lua_State* L) { static int save(lua_State* L) {
+4 -4
View File
@@ -59,10 +59,10 @@ public:
protected: protected:
lua_State* lua = nullptr; lua_State* lua = nullptr;
int loadRef; int loadRef = LUA_NOREF;
int saveRef; int saveRef = LUA_NOREF;
int createRef; int createRef = LUA_NOREF;
int unloadRef; int unloadRef = LUA_NOREF;
}; };
#endif #endif