fix(core.gbapp): SEND FILE TO order of VM call prioritized.
This commit is contained in:
parent
1dba536aad
commit
a4c03b834c
1 changed files with 4 additions and 3 deletions
|
@ -216,13 +216,14 @@ export class GBVMService extends GBService {
|
|||
code = code.replace(/(talk)(\s)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `talk (step, ${$3})\n`;
|
||||
});
|
||||
code = code.replace(/(send file)(\s*)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sendFile (step, ${$3})\n`;
|
||||
});
|
||||
code = code.replace(/(send file to)(\s*)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sendFileTo (step, ${$3})\n`;
|
||||
});
|
||||
|
||||
code = code.replace(/(send file)(\s*)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sendFile (step, ${$3})\n`;
|
||||
});
|
||||
|
||||
code = code.replace(/(save)(\s)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sys().save(${$3})\n`;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue