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

Bug: TileStorage is not updated after TilePos is updated #467

Open
Piturnah opened this issue Sep 11, 2023 · 1 comment
Open

Bug: TileStorage is not updated after TilePos is updated #467

Piturnah opened this issue Sep 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Piturnah
Copy link
Contributor

It is demonstrated in the move_tile example that updating the value of an entity's TilePos is the intended API for moving a tile (without despawning and respawning it). However, if you do it this way then the corresponding map's TileStorage won't be updated and future lookups will be broken.

@StarArawn StarArawn added the enhancement New feature or request label Sep 23, 2023
@StarArawn
Copy link
Owner

You need to manually update the tile storage for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants