mm_machine 1.9.4 → 1.9.5

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/item.js +2 -0
  2. package/package.json +1 -1
package/item.js CHANGED
@@ -185,6 +185,8 @@ Item.prototype.load_script = function(file, name = "") {
185
185
  if (!file.hasFile()) {
186
186
  this.new_script(file);
187
187
  }
188
+ } else {
189
+ return;
188
190
  }
189
191
  }
190
192
  if (!name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {