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

Marking variable as private should regen screens where it's set #1313

Closed
vchelaru opened this issue Dec 30, 2023 · 0 comments
Closed

Marking variable as private should regen screens where it's set #1313

vchelaru opened this issue Dec 30, 2023 · 0 comments
Labels

Comments

@vchelaru
Copy link
Owner

  1. Create Entity
  2. Add variable to Entity called Health, make sure it's public
  3. Add EntityInstance to screen
  4. Set EntityInstance.Health to some value
  5. Select Health in Entity and make it private instead of public
  6. Compile game

Observe - compile error in Screen happens because the variable is still assigned
Observe 2 - variable still appears in the named object list
Expected - this variable should get removed. Tell the user this will happen and let them decide
Expected 2 - the variable should no longer appear in the list of variables.

@vchelaru vchelaru added the bug label Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant