diff --git a/assets/data/stages/limo.hx b/assets/data/stages/limo.hx index 8e78179d..c846eefc 100644 --- a/assets/data/stages/limo.hx +++ b/assets/data/stages/limo.hx @@ -1,3 +1,5 @@ +var fastCarCanDrive:Bool = true; + function create() { resetFastCar(); } diff --git a/buildnumber.txt b/buildnumber.txt index d36f9fbe..a36df4ef 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -267 \ No newline at end of file +269 \ No newline at end of file diff --git a/source/funkin/scripting/HScript.hx b/source/funkin/scripting/HScript.hx index f6d8e721..347a8c8a 100644 --- a/source/funkin/scripting/HScript.hx +++ b/source/funkin/scripting/HScript.hx @@ -16,12 +16,12 @@ class HScript extends Script { var code:String = Assets.getText(path); var parser = new hscript.Parser(); parser.allowJSON = parser.allowMetadata = parser.allowTypes = true; + // interp.errorHandler = _errorHandler; try { expr = parser.parseString(code, fileName); } catch(e) { return; } - interp.errorHandler = _errorHandler; } private function _errorHandler(error:Error) { diff --git a/source/funkin/scripting/ScriptPack.hx b/source/funkin/scripting/ScriptPack.hx index 4caade79..22c4bdfe 100644 --- a/source/funkin/scripting/ScriptPack.hx +++ b/source/funkin/scripting/ScriptPack.hx @@ -1,5 +1,7 @@ package funkin.scripting; +import funkin.scripting.events.CancellableEvent; + class ScriptPack extends Script { public var scripts:Array