Update fnc_addEarPlugs.sqf

Do not automatically add earplugs to units if combat deafness is disabled.
This commit is contained in:
naizarak 2015-06-29 12:23:32 -07:00
parent f52babe546
commit 75e322e6ae

View File

@ -15,6 +15,8 @@
*/ */
#include "script_component.hpp" #include "script_component.hpp"
if (!GVAR(enableCombatDeafness)) exitWith {};
private ["_unit", "_launcher"]; private ["_unit", "_launcher"];
_unit = _this select 0; _unit = _this select 0;