From 241016be61bbe3d681402752d6ac92277d3bfb9f Mon Sep 17 00:00:00 2001 From: MGT Date: Thu, 20 Aug 2020 16:40:33 +0100 Subject: [PATCH] Update Enigma_RevivePlyr.sqf --- Exile.Altis/Custom/EnigmaRevive/Enigma_RevivePlyr.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Exile.Altis/Custom/EnigmaRevive/Enigma_RevivePlyr.sqf b/Exile.Altis/Custom/EnigmaRevive/Enigma_RevivePlyr.sqf index e6bac10..ab0d16e 100644 --- a/Exile.Altis/Custom/EnigmaRevive/Enigma_RevivePlyr.sqf +++ b/Exile.Altis/Custom/EnigmaRevive/Enigma_RevivePlyr.sqf @@ -4,7 +4,7 @@ Enigma_RevivePlyr.sqf © 2016 Enigma Team */ -private ["_target","_targetname", "_bodypos1", "_bodypos2", "_bodypos3", "_healPlace", "_action", "_bodypos", "_animstate", "_primaryw", "_timer", "_Anims", "_defibpos", "_defibangle", "_posh", "_posi", "_dy", "_dx", "_dir", "_position", "_lootHolder", "_targetsbleedoutcountdown", "_secondsRemaining", "_playersNearby"]; +private ["_target","_targetname", "_bodypos1", "_bodypos2", "_bodypos3", "_healPlace", "_action", "_bodypos", "_animstate", "_primaryw", "_timer", "_Anims", "_defibpos", "_defibangle", "_posh", "_posi", "_dy", "_dx", "_dir", "_position", "_lootHolder", "_targetsbleedoutcountdown", "_secondsRemaining", "_playersNearby", "_exit"]; _target = _this select 0; _targetname = name _target; @@ -32,7 +32,7 @@ _playersNearby = [player, 10] call ExileClient_util_world_getAlivePlayerInfantry }; } forEach _playersNearby; - +if(_exit isEqualTo true)exitWith{}; if (_target getVariable "EnigmaRevivePermitted") then {