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

Fix setting TileMap data compatibility format broken by #98898. #99259

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

Macksaur
Copy link
Contributor

I'm not too sure why this check was rewritten differently than the source pre-#98898 but I can't load any old maps unless I restore it.

@Macksaur Macksaur requested a review from a team as a code owner November 15, 2024 01:23
@clayjohn clayjohn added this to the 4.4 milestone Nov 15, 2024
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just spent the last hour bisecting this exact issue haha. This code is exactly what @akien-mga suggested in #98898 (comment), and it matches what the logic was before #98898 so it seems good.

I am also checking locally just in case

@clayjohn clayjohn requested a review from Repiteo November 15, 2024 02:42
@clayjohn
Copy link
Member

Tested locally, and I can confirm this fixes the regression.

@Repiteo
Copy link
Contributor

Repiteo commented Nov 15, 2024

OH! I must've been using Akien's 3.x branch changelog as a reference for this, because the code exactly matches that implementation:
https://github.com/godotengine/godot/pull/98896/files#r1831083901

Copy link
Contributor

@Repiteo Repiteo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my b

@akien-mga akien-mga merged commit 98ddec4 into godotengine:master Nov 15, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@Macksaur Macksaur deleted the fix_tilemap_compat branch November 15, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants