mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Holding people at gunpoint is FIXED (#68361)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user