diff --git a/source/fs/menus/filemenu.c b/source/fs/menus/filemenu.c index 130ead5..af5582d 100644 --- a/source/fs/menus/filemenu.c +++ b/source/fs/menus/filemenu.c @@ -93,9 +93,6 @@ void RunScript(char *path, FSEntry_t entry){ freeDictVector(&ctx.varDict); lexarVectorClear(&ctx.script); - - gfx_printf("\nScript done!\nPress any key"); - hidWait(); } void RenameFile(char *path, FSEntry_t entry){ diff --git a/source/script/parser.c b/source/script/parser.c index d52c72c..21104f0 100644 --- a/source/script/parser.c +++ b/source/script/parser.c @@ -123,5 +123,8 @@ void printError(scriptResult_t res) { for (int i = 0; i < res.len; i++) { printToken(&res.nearToken[i]); } + + gfx_printf("\nPress any key to exit"); + hidWait(); } } \ No newline at end of file