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

Use the correct type for layer properties #803

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

InnocentusLime
Copy link
Contributor

Synopsis

The Layer struct used a HashMap to encode the properties instead of Vec<Property>. Which made macroquad_tiled crash when it tries to parse a map where there is a layer that has custom properties. This is because they are stored the same way as everywhere else.

What is done

  • Simply replace the type with Vec<Property>
  • Also added a link to the tiled docs for the Layer struct

@not-fl3 not-fl3 merged commit dc88b13 into not-fl3:master Sep 10, 2024
6 checks passed
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.

2 participants