Files
Bubberstation/code/__DEFINES/input.dm
SkyratBot 7a2292264e [MIRROR] fixes & increases SSinput click delay threshold & moves it and average_click_delay to deciseconds [MDB IGNORE] (#17952)
* fixes & increases SSinput click delay threshold & moves it and average_click_delay to deciseconds (#71520)

## About The Pull Request
theres an issue with SSinput calculating the average_click_delay that
made it skip queuing clicks much faster than it should have. now it
should work. also moves everything to deciseconds for consistency
(except for the statpanel display, which changes it to per second). also
i increased the click delay threshold to 1 tick in deciseconds because
really we should only be refusing to queue if SSinput is being skipped
for whatever reason or each tick is receiving massive non input overtime
## Why It's Good For The Game
feex queuing clicks to lower overtime when the server is overloaded
## Changelog
🆑
fix: queuing clicks should work correctly now
/🆑

* fixes & increases SSinput click delay threshold & moves it and average_click_delay to deciseconds

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-12-06 22:15:21 +00:00

3 lines
167 B
Plaintext

///if the running average click latency is above this amount then clicks will never queue and will execute immediately
#define MAXIMUM_CLICK_LATENCY (0.5 DECISECONDS)