-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix dialogue variables not mimicking actual narrative variables #184
Fix dialogue variables not mimicking actual narrative variables #184
Conversation
Eh will look into that test later. And possibly add my own regression one |
Idea sounds sound to me. I'll check the PR in detail when you're done :) |
* Remove unused StrRefExt trait * redundant_clone * Unused code
d3d2df2
to
9950c19
Compare
This reverts commit d107f63.
Heh I found out why that test was erroring: .declare_variable(
Declaration::new("$external_str", Type::String).with_default_value("Hello"),
)
.declare_variable(Declaration::new("$external_int", Type::Boolean).with_default_value(true)) // <--
.declare_variable(Declaration::new("$external_bool", Type::Number).with_default_value(42)) // <-- I also added a test to validate declared vars are indeed visible ^^ Other CI failures I think are unrelated |
@stargazing-dino hehe, that one seems sneaky |
Hmm, I'm missing the "merge main branch into this branch" button here and your other PR. Could you merge |
should be ready now |
Thanks :) |
dialogue.variable_storage().variables()
will also havedeclare
'd variables as well now.