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

Book content contradicts state of the codebase #226

Open
PierreGuyot opened this issue Jan 12, 2025 · 0 comments
Open

Book content contradicts state of the codebase #226

PierreGuyot opened this issue Jan 12, 2025 · 0 comments

Comments

@PierreGuyot
Copy link

PierreGuyot commented Jan 12, 2025

let content = ecs.fetch::<Map>().tile_content[tile_idx as usize].clone();

At this point in the project, the tile_content field has been removed due to a previous refactor (extracting the /spatial folder).
This loop needs to be replaced with the for_each_tile_content helper.

UPDATE: there seems to be other occurrences of this in the following chapters too.

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

No branches or pull requests

1 participant