mm_machine 1.8.9 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -506,7 +506,8 @@ Index.prototype.load_item = function(dir, cg, file) {
506
506
  } else {
507
507
  drive.mode = 2;
508
508
  }
509
- drive.load(file, cg.name);
509
+ drive.load(file);
510
+ drive.set_config(cg);
510
511
  } else {
511
512
  drive.mode = this.mode;
512
513
  drive.load(file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.8.9",
3
+ "version": "1.9.0",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {