From 8d79486d3ab106f5efde4a2e34e1bde4fb863c5f Mon Sep 17 00:00:00 2001 From: Arkatos1 Date: Wed, 24 Apr 2019 16:29:22 +0200 Subject: [PATCH] Code review fixes --- code/game/objects/items/weapons/legcuffs.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/weapons/legcuffs.dm b/code/game/objects/items/weapons/legcuffs.dm index c46d15f89f3..66e0ba6b110 100644 --- a/code/game/objects/items/weapons/legcuffs.dm +++ b/code/game/objects/items/weapons/legcuffs.dm @@ -152,10 +152,11 @@ breakouttime = 35//easy to apply, easy to break out of gender = NEUTER origin_tech = "engineering=3;combat=1" + hitsound = 'sound/effects/snap.ogg' var/weaken = 0 /obj/item/restraints/legcuffs/bola/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback) - playsound(src.loc,'sound/weapons/bolathrow.ogg', 75, TRUE) + playsound(loc,'sound/weapons/bolathrow.ogg', 50, TRUE) if(!..()) return @@ -171,7 +172,7 @@ feedback_add_details("handcuffs","B") to_chat(C, "[src] ensnares you!") C.Weaken(weaken) - playsound(src.loc, 'sound/effects/snap.ogg', 50, TRUE) + playsound(loc, hitsound, 50, TRUE) /obj/item/restraints/legcuffs/bola/tactical //traitor variant name = "reinforced bola"