From c26008ad2900b9fc1fe83bc9686398c81f8bdbe4 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 10 May 2017 11:29:26 -0500 Subject: [PATCH] hitreactions - Close map on hit (#5099) --- addons/hitreactions/functions/fnc_fallDown.sqf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/hitreactions/functions/fnc_fallDown.sqf b/addons/hitreactions/functions/fnc_fallDown.sqf index 03484438eb..915e442b37 100644 --- a/addons/hitreactions/functions/fnc_fallDown.sqf +++ b/addons/hitreactions/functions/fnc_fallDown.sqf @@ -27,6 +27,9 @@ if (_unit == _firer) exitWith {}; // camshake for player if (_unit == ACE_player) then { + if (visibleMap) then { + openMap false; + }; addCamShake [3, 5, _damage + random 10]; };