Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Scope #144

Closed
amerelo opened this issue Nov 10, 2020 · 0 comments · Fixed by #145
Closed

Function Scope #144

amerelo opened this issue Nov 10, 2020 · 0 comments · Fixed by #145
Labels
bug Something isn't working

Comments

@amerelo
Copy link
Member

amerelo commented Nov 10, 2020

Describe the bug
Fail to execute correct CSML steps after wrong action is use in a CSML function in another bot

To Reproduce
bot: A
fn toto():
say "plop"
return 1

start:
if (a) say "Hi"
goto end

bot: B
start:
if (a) say "Hi"
goto end

Expected behavior
I expect bot B to work even if bot A fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant