Skip to content

Misleading/Wrong comment: bundle-example-areas ranvier-blade.js #10

@ProjectStickman

Description

@ProjectStickman

The comment says

// Have to be careful in weapon scripts. If you have a weapon script that causes damage and
// it listens for the 'hit' event you will have to check to make sure that `damage.source
// !== this` otherwise you could create an infinite loop the weapon's own damage triggering
// its script

yet that's not the case in the code for this weapon that does exactly that. Is it still needed or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions