Minor preemptive bugfixes
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user