Skip to content

Commit

Permalink
fix(basic.gblib): More logging in BASIC keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Mar 8, 2021
1 parent 85e9602 commit e016052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basic.gblib/services/GBVMService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class GBVMService extends GBService {
return `${$1} = hear("menu", ${$2})`;
});

code = code.replace(/(hear on)(\s)(.*)/gi, ($0, $1, $2, $3) => {
code = code.replace(/(go to)(\s)(.*)/gi, ($0, $1, $2, $3) => {
return `sys().gotoDialog(${$3})\n`;
});

Expand Down

0 comments on commit e016052

Please sign in to comment.