Get your clicks out of my movement code

This commit is contained in:
Aronai Sieyes
2020-04-30 15:40:41 -04:00
parent 03e2c9b5a5
commit 99fa98f437
15 changed files with 24 additions and 29 deletions

View File

@@ -17,7 +17,7 @@
return
if(perm && (target_permissions & perm))
return
if(!owner.canClick())
if(!owner.checkClickCooldown())
return
owner.setClickCooldown(5) // Spam prevention, essentially.
if(owner.a_intent == I_HELP && owner.is_preference_enabled(/datum/client_preference/safefiring))