Overhaul of animstep, implement tangible.build

This commit is contained in:
2021-03-28 15:12:09 -04:00
parent f88fafc585
commit 98d261ce37
4 changed files with 316 additions and 191 deletions

View File

@@ -175,7 +175,7 @@ void LuaStack::getclass(LuaSlot classtab, LuaSlot classname) const {
} else {
LS.set(classtab, classname);
if (!LS.istable(classtab)) {
luaL_error(L_, "parameter must be a class");
luaL_error(L_, "class can be a string or a table");
}
LS.rawget(cname, classtab, "__class");
if (!LS.isstring(cname)) {