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

Prevent crash from selecting palette button #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

burstflare
Copy link
Contributor

No description provided.

@burstflare burstflare closed this Oct 20, 2024
@burstflare
Copy link
Contributor Author

Prevent crash from clicking color swatch in Particle editor

In the Particle Editor, under the Particles heading, the Color can be set. However clicking the color swatch next to the color picker button will cause a crash, as no Game.Data.CurrentPalette exists. This PR places a label stating no colors have been saved.

Preventing the crash was the primary reason -- was unsure of the intended use of Game.Data.CurrentPalette, i.e. if it would be used by other engine features.

Also -- thanks for your patience, still a github newbie.

@burstflare burstflare reopened this Oct 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant