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

No compile error when '$' is missing from variable #214

Open
Silver-Sorbet opened this issue Sep 7, 2024 · 0 comments
Open

No compile error when '$' is missing from variable #214

Silver-Sorbet opened this issue Sep 7, 2024 · 0 comments

Comments

@Silver-Sorbet
Copy link

For context, I had one yarn file already, and I added another one that looks like this

title: Description
<<declare $var = true>>
Dialogue
<<if not var>>
	Dialogue
<<else>>
	Dialogue
<<endif>>

However, when I ran the code, it didn't start the dialogue because there was a missing '$' in front of the variable var

I added it in and it works, but I would like for bevy_yarnspinner to show the error instead of just not starting the dialogue.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant