Skip to content

Vehicle that has guns instatly shoots when player enters the vehicle #5

@DynamicMotz

Description

@DynamicMotz

Describe the bug

When entering a vehicle that has guns that are mapped to the right-mouse-button they will instantly shoot because right-mouse-button is also the key to enter the vehicle.

To Reproduce
Steps to reproduce the behaviour:

  1. Spawn a vehicle that has a secundary gun
  2. Load the vehicle guns
  3. Enter the vehicle

Expected behaviour

Guns should not fire until the right-mouse-button is depressed and pressed again.

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
    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