mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ok that is my fault
This commit is contained in:
parent
cb8d009ef0
commit
bd56d1bb83
@ -37,11 +37,11 @@ _vehAttenuation = if ((ACE_player == (vehicle ACE_player)) || {isTurnedOut ACE_p
|
|||||||
|
|
||||||
_distance = 1 max _distance;
|
_distance = 1 max _distance;
|
||||||
|
|
||||||
_silencer = call {
|
_silencer = switch (_weapon) do {
|
||||||
if (_weapon == primaryWeapon _firer) exitWith {(primaryWeaponItems _firer) select 0};
|
case (primaryWeapon _firer) : {(primaryWeaponItems _firer) select 0};
|
||||||
if (_weapon == secondaryWeapon _firer) exitWith {(secondaryWeaponItems _firer) select 0};
|
case (secondaryWeapon _firer) : {(secondaryWeaponItems _firer) select 0};
|
||||||
if (_weapon == handgunWeapon _firer) exitWith {(handgunItems _firer) select 0};
|
case (handgunWeapon _firer) : {(handgunItems _firer) select 0};
|
||||||
""
|
default {""};
|
||||||
};
|
};
|
||||||
|
|
||||||
_audibleFireCoef = 1;
|
_audibleFireCoef = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user