Replaces throttle with cooldown define and also adds it to mousedrag

This commit is contained in:
deathride58
2024-10-23 19:51:18 -04:00
parent 6de44caeed
commit 51a264c9a7
2 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -190,5 +190,6 @@
/// AFK tracking
var/last_activity = 0
/// The next point in time at which the client is allowed to send a mousemove()
var/next_mousemove = 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)