From 79035bbebed02853168ba24d9deeac27c8f3fd95 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 12 Oct 2020 23:23:47 +0200 Subject: [PATCH] [MIRROR] Enables a click cooldown on throws (#1272) * Enables a click cooldown on throws (#54331) * Enables a click cooldown on throws Co-authored-by: Rohesie --- code/__DEFINES/combat.dm | 1 + code/_onclick/click.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/__DEFINES/combat.dm b/code/__DEFINES/combat.dm index b32baedb76b..066f3294bec 100644 --- a/code/__DEFINES/combat.dm +++ b/code/__DEFINES/combat.dm @@ -81,6 +81,7 @@ //click cooldowns, in tenths of a second, used for various combat actions #define CLICK_CD_MELEE 8 +#define CLICK_CD_THROW 8 #define CLICK_CD_RANGE 4 #define CLICK_CD_RAPID 2 #define CLICK_CD_CLICK_ABILITY 6 diff --git a/code/_onclick/click.dm b/code/_onclick/click.dm index 14e94a9f2c0..60126719d5f 100644 --- a/code/_onclick/click.dm +++ b/code/_onclick/click.dm @@ -119,6 +119,7 @@ return if(in_throw_mode) + changeNext_move(CLICK_CD_THROW) throw_item(A) return