Commits

Martin Felis committed 3cc37b3

LuaModel: removed invalid error message from get_table_from_path()

Comments (0)

Files changed (1)

addons/luamodel/luatables.cc

 		}
 
 		if (lua_isnil(L, -1)) {
-			cout << "Error: could not find table '" << path_str;
-			if (path.size() == 0 && index > 0)
-				cout << "[" << index << "]";
-			cout << "'." << endl;
-			
 			// clean up the stack
 			lua_pop (L, lua_gettop(L) - stack_top);
 			return false;