Skip to content

attack-induced spring not removed on attacker death #395

Description

@drbergman

Issue:
Spring attachments are generally not cleared when a death model starts. In most cases, this behavior is appropriate — we don’t want to automatically remove all spring connections.

However, attack-induced springs are a special case. When an attacker begins its death model, the spring connecting it to the attackee should be removed. Currently, this does not happen, leaving the attacker still “attached” after death.

By contrast, the spring is already handled correctly when the attackee dies — it’s removed as expected.

Proposed fix:
Ensure that attack-induced springs are explicitly removed when the attacker begins its death model.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions