Merge pull request #16075 from deathride58/mousemovethrottle

throttles mouse movement calls
This commit is contained in:
SandPoot
2024-10-23 21:11:38 -03:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -189,3 +189,7 @@
/// AFK tracking
var/last_activity = 0
/// The next point in time at which the client is allowed to send a mousemove() or mousedrag()
COOLDOWN_DECLARE(next_mousemove)
COOLDOWN_DECLARE(next_mousedrag)