fix(all): FIND OR TALK fixed.
This commit is contained in:
parent
375d107dd2
commit
a8e517d1f4
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ export class GBVMService extends GBService {
|
|||
return `${$2} = hear()`;
|
||||
});
|
||||
|
||||
code = code.replace(/(\w)\s*\=\s*find\s*(.*)\s*or talk\s*(.*)/gi, ($0, $1, $2, $3) => {
|
||||
code = code.replace(/.*(\w+)\s*\=\s*find\s*(.*)\s*or talk\s*(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `${$1} = sys().find(${$2})\n
|
||||
if (!${$1}) {
|
||||
if (resolve){
|
||||
|
|
Loading…
Add table
Reference in a new issue