1
0
Эх сурвалжийг харах

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

Stephan Fuchs 10 сар өмнө
parent
commit
d94703369c

+ 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;