A variety of small fixes

This commit is contained in:
2021-07-09 13:52:03 -04:00
parent 496190d5cf
commit dba5bccfa0
4 changed files with 12 additions and 44 deletions

View File

@@ -253,7 +253,7 @@ void LuaStack::cleartable(LuaSlot tab) const {
lua_pop(L_, 1); // Pop the old value.
lua_pushvalue(L_, -1); // Clone the key
lua_pushnil(L_); // Push the new value.
lua_settable(L_, tab.index());
lua_rawset(L_, tab.index());
}
}