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) {
//EMPTY
lua_pushboolean(L, false);
return 1;
return 0;
}
static int save(lua_State* L) {
+4 -4
View File
@@ -59,10 +59,10 @@ public:
protected:
lua_State* lua = nullptr;
int loadRef;
int saveRef;
int createRef;
int unloadRef;
int loadRef = LUA_NOREF;
int saveRef = LUA_NOREF;
int createRef = LUA_NOREF;
int unloadRef = LUA_NOREF;
};
#endif