Skip to content

Wrong code snippet in chapter 66 #227

@PierreGuyot

Description

@PierreGuyot

if let Some(part) = ecs.read_storage::<SpawnParticleLine>().get(entity) {

The code referenced here is wrong, the text mentions the next line (where the reader is supposed to pass the new argument creator to find_item_position):

if let Some(start_pos) = targeting::find_item_position(ecs, entity, creator) {            

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions