Skip to content

Reload animation continues when switching gun #8

@DynamicMotz

Description

@DynamicMotz

Describe the bug

When switching to another gun while the gun in your hand is reloading the animation will continue on the gun you switched to. It also makes the second gun unable to shoot until the animation is finished and reloads the first gun while you're not holding it in your hand.

To Reproduce
Steps to reproduce the behaviour:

  1. Take two guns into your hotbar
  2. Reload one of the guns
  3. Switch to the second gun while the animation is playing

Expected behaviour

Reloading should be canceled

Versions (please complete the following information)

  • Forge: 14.23.5.2768
  • Flan's Mod: 1.12.2 branch (at 425eee3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions