better hscript error handler

This commit is contained in:
Yoshman29
2022-11-10 16:23:41 +01:00
parent 38d2a767aa
commit eb780cda6d
5 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ class Script extends FlxBasic implements IFlxDestroyable {
*/
public function error(text:String, ?additionalInfo:Dynamic):Void {
Logs.traceColored([
Logs.logText(fileName, GREEN),
Logs.logText(fileName, RED),
Logs.logText(text)
], ERROR);
}