hitreactions - Close map on hit (#5099)

This commit is contained in:
PabstMirror 2017-05-10 11:29:26 -05:00 committed by GitHub
parent b3f03d5ffb
commit c26008ad29

View File

@ -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];
};