From 43a168f0b962b21ca086c9a70776216a17cb8005 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 4 Dec 2015 15:16:17 -0600 Subject: [PATCH] Flashbangs - Make event radius match effect radius --- addons/grenades/functions/fnc_flashbangThrownFuze.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/grenades/functions/fnc_flashbangThrownFuze.sqf b/addons/grenades/functions/fnc_flashbangThrownFuze.sqf index 21d132464a..ae50e96e39 100644 --- a/addons/grenades/functions/fnc_flashbangThrownFuze.sqf +++ b/addons/grenades/functions/fnc_flashbangThrownFuze.sqf @@ -20,8 +20,7 @@ params ["_projectile"]; if (alive _projectile) then { playSound3D ["A3\Sounds_F\weapons\Explosion\explosion_mine_1.wss", _projectile, false, getPosASL _projectile, 5, 1.2, 400]; - private "_affected"; - _affected = _projectile nearEntities ["CAManBase", 50]; + private _affected = _projectile nearEntities ["CAManBase", 20]; ["flashbangExplosion", _affected, [_projectile]] call EFUNC(common,targetEvent); };