From 7e69bafa539c0ea3e5c7cb15a1d65932165841c4 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Tue, 11 Apr 2017 21:03:09 -0400 Subject: [PATCH] Another e-net tweak Exploit where if you started breaking the net from the OUTSIDE, even if pulled away from you, you could break it. Adds a target to the do_after. --- code/game/objects/items/weapons/weaponry.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index 56fa0b28b0..8dce565f2c 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -136,7 +136,7 @@ /obj/effect/energy_net/user_unbuckle_mob(mob/user) user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) visible_message("[user] begins to tear at \the [src]!") - if(do_after(usr, escape_time, incapacitation_flags = INCAPACITATION_DEFAULT & ~(INCAPACITATION_RESTRAINED | INCAPACITATION_BUCKLED_FULLY))) + if(do_after(usr, escape_time, src, incapacitation_flags = INCAPACITATION_DEFAULT & ~(INCAPACITATION_RESTRAINED | INCAPACITATION_BUCKLED_FULLY))) if(!buckled_mob) return visible_message("[user] manages to tear \the [src] apart!")