momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
526 stars 210 forks source link

trigger_userinput OnKeyPressed fires twice if it's moving #2022

Open Ninja-Cookie opened 1 year ago

Ninja-Cookie commented 1 year ago

Describe the bug

To my best understanding, if a trigger_userinput is moving, for example from being parent to a train object, OnKeyPressed event fires twice instead of once.

https://user-images.githubusercontent.com/62808028/223596829-4fad5351-78a6-4085-abe6-f94035a8e6e4.mp4

How To Reproduce

Download this test map: moving_userinput.zip

Issue Map

N/A

Expected Behavior

Fire OnKeyPressed once.

Operating System

Windows

jason-e commented 1 month ago

We should first check if this is a behavior of triggers in general or just trigger_userinput.