mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_addEarPlugs.sqf
Do not automatically add earplugs to units if combat deafness is disabled.
This commit is contained in:
parent
f52babe546
commit
75e322e6ae
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user