Replaces getKeyWithCollection with getName on VariableValue

This commit is contained in:
Felipe Zimmerle
2020-08-25 12:52:04 -03:00
committed by Felipe Zimmerle
parent ae74d37f96
commit 1eedf3e898
7 changed files with 21 additions and 20 deletions

View File

@@ -304,7 +304,7 @@ int Lua::getvars(lua_State *L) {
lua_newtable(L);
lua_pushstring(L, "name");
lua_pushlstring(L, i->getKeyWithCollection().c_str(), i->getKeyWithCollection().size());
lua_pushlstring(L, i->getName().c_str(), i->getName().size());
lua_settable(L, -3);
lua_pushstring(L, "value");