diff --git a/source/psychlua/HScript.hx b/source/psychlua/HScript.hx index 5b99288b..b81a9189 100644 --- a/source/psychlua/HScript.hx +++ b/source/psychlua/HScript.hx @@ -47,7 +47,7 @@ class HScript extends Iris } catch(e:Dynamic) { - Iris.error(ErrorSeverity.ERROR, e, hs.interp.posInfos()); + Iris.error(e, hs.interp.posInfos()); } } } diff --git a/source/states/PlayState.hx b/source/states/PlayState.hx index c79a121e..269bc1f4 100644 --- a/source/states/PlayState.hx +++ b/source/states/PlayState.hx @@ -3284,7 +3284,7 @@ class PlayState extends MusicBeatState { var newScript:HScript = cast (Iris.instances.get(file), HScript); @:privateAccess - Iris.error(crowplexus.iris.ErrorSeverity.ERROR, e, (newScript.interp != null ? newScript.interp.posInfos() : Iris.getDefaultPos())); + Iris.error(e, (newScript.interp != null ? newScript.interp.posInfos() : Iris.getDefaultPos())); if(newScript != null) newScript.destroy();