Holding people at gunpoint is FIXED (#68361)

This commit is contained in:
itseasytosee
2022-07-17 00:45:55 -07:00
committed by GitHub
parent e0ad104620
commit 71c273a01a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/// How many tiles around the target the shooter can roam without losing their shot
#define GUNPOINT_SHOOTER_STRAY_RANGE 2
#define GUNPOINT_SHOOTER_STRAY_RANGE 3
/// How long it takes from the gunpoint is initiated to reach stage 2
#define GUNPOINT_DELAY_STAGE_2 2.5 SECONDS
/// How long it takes from stage 2 starting to move up to stage 3
+1 -1
View File
@@ -189,7 +189,7 @@
for(var/obj/O in contents)
O.emp_act(severity)
/obj/item/gun/attack_secondary(mob/living/victim, mob/living/user, params)
/obj/item/gun/afterattack_secondary(mob/living/victim, mob/living/user, params)
if (user.GetComponent(/datum/component/gunpoint))
to_chat(user, span_warning("You are already holding someone up!"))
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN