Skip to content

Calling InteractionKeyMappingTriggered event fires train controls block interaction twice #6901

Open
@Yesssssman

Description

@Yesssssman

Description

Hello, I'm a developer from Epic Fight. I got a report for a weird issue when trying to control the train from Create.

Epic-Fight/epicfight#1771

As you can see in the video the player can't control the train because it acts like it pressed twice. I found it was because I called InteractionKeyMappingTriggered event for my keybind.

I have a keybind for casting guard skill which has the default value as mouse right button. The event has KeyMapping instance that you can distinguish if the event is called by the vanilla side or mine. Please let me know if there are any ways to fix this issue both on my side or on your end. Thanks for reading.

Game Log

https://mclo.gs/DXO1jzC

Debug Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: compatibilityIssue only happens when other mods are presentstatus: confirmedIssue's details are known, it is consistently reproducible, and it needs a fixtype: bugIssue where something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions