Create

Create

86M Downloads

Calling InteractionKeyMappingTriggered event fires train controls block interaction twice

Yesssssman opened this issue ยท 0 comments

commented

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.

Yesssssman/epicfightmod#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