-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Can't change variable #111
Comments
It's fixed now, and I can't find a way to bring back the glitch. If you're interested, this is how I fixed it: |
Can you send:
if you can't attach them to github, email: contact@turbowarp.org |
I don't have a file, it got overwritten when I saved it in Scratch. My addons: And I was using the website. |
I've looked at your project's JSON. It appears the "health" sprite has two different variables named "_ type" with different IDs. Lots breaks when this happens. You will likely experience the same issue again unless you follow these steps to hopefully resolve it (make a backup first please):
Root cause still being investigated |
I had a theory that the cause was two different variables... Thanks, the project is fixed now. |
It seems this is caused by the searchable dropdowns. If there is a local variable named _type in one sprite, I can still create a global variable with the same name in another sprite. That seems like it could be the cause of this. |
Expected Behavior
When I set a variable to something, it should keep that value.
Actual Behavior
It only seems to be messed up in this project
Screen recording 2023-01-02 06.31.19.webm
Steps to Reproduce
Go to the project link above the video
Click "See Inside"
Go to the health sprite (column 1, row 2)
Add a _ type reporter and a set _ type to () block
Change the type variable and check if it's doing anything by clicking the reporter
Operating System and Browser
ChromeOS 108
The text was updated successfully, but these errors were encountered: