Skip to content

Commit

Permalink
Update HScript.hx
Browse files Browse the repository at this point in the history
help mobile programmer(yeah
  • Loading branch information
VapireMox authored Dec 17, 2024
1 parent f46b3c6 commit 7d43df2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/funkin/backend/scripting/HScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ class HScript extends Script {
Logs.logText(fn, GREEN),
Logs.logText(err, RED)
], ERROR);

#if mobile
funkin.backend.utils.NativeAPI.showMessageBox(fn + err, "HSCRIPT ERROR", MSG_ERROR);
#end
}

public override function setParent(parent:Dynamic) {
Expand Down

0 comments on commit 7d43df2

Please sign in to comment.