ModSubState

This commit is contained in:
Yoshman29
2022-12-04 17:08:08 +01:00
parent 37068a1b1c
commit 2d4016a776
12 changed files with 202 additions and 29 deletions
+1
View File
@@ -16,6 +16,7 @@ class HScript extends Script {
var code:String = Assets.getText(path);
var parser = new hscript.Parser();
parser.allowJSON = parser.allowMetadata = parser.allowTypes = true;
parser.preprocesorValues = Script.getDefaultPreprocessors();
interp.errorHandler = _errorHandler;
interp.staticVariables = Script.staticVariables;
interp.allowStaticVariables = interp.allowPublicVariables = true;