瀏覽代碼

add `result = undefined` to `func` (decativated for now)

Stephan Fuchs 10 月之前
父節點
當前提交
d94703369c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sugarcube/src/js/func.js

+ 1 - 0
sugarcube/src/js/func.js

@@ -20,6 +20,7 @@ window.func = function(dest,arg0=undefined,arg1=undefined,arg2=undefined,arg3=un
     State.variables.here = dest;
 
     let cached_result = State.variables.result;
+    //State.variables.result = undefined;
     $.wiki(`<<include "${dest}">>`);
     let result = State.variables.result;