From 34b777dff99e7d54019f745caf56f2cff8245016 Mon Sep 17 00:00:00 2001 From: vbawol Date: Fri, 22 Apr 2016 10:46:17 -0500 Subject: [PATCH] Should fix false ban on revive http://epochmod.com/forum/index.php?/topic/41919-eh-inventoryclosed2/ --- Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf index bb2897ff..cc94a739 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf @@ -40,6 +40,7 @@ if !(alive player && alive _playerObject && !isPlayer _playerObject) then { ("BIS_fnc_respawnCounter" call BIS_fnc_rscLayer) cutText ["","PLAIN"]; { + player removeEventHandler [_x, 0]; player addEventHandler [_x,(["CfgEpochClient", _x, ""] call EPOCH_fnc_returnConfigEntryV2)]; } forEach (["CfgEpochClient", "addEventHandler", []] call EPOCH_fnc_returnConfigEntryV2);