From 63e96da40f3f7fd0b639abc9c8a34f426a9a5d2d Mon Sep 17 00:00:00 2001 From: Defent Date: Mon, 31 Aug 2015 22:30:09 +0200 Subject: [PATCH] Update FindSuppressor.sqf --- @ExileServer/addons/a3_dms/scripts/FindSuppressor.sqf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/@ExileServer/addons/a3_dms/scripts/FindSuppressor.sqf b/@ExileServer/addons/a3_dms/scripts/FindSuppressor.sqf index eaa821b..c905570 100644 --- a/@ExileServer/addons/a3_dms/scripts/FindSuppressor.sqf +++ b/@ExileServer/addons/a3_dms/scripts/FindSuppressor.sqf @@ -24,7 +24,13 @@ _ammoName = getText (configFile >> "cfgWeapons" >> _weapon >> "displayName"); switch (_ammoName) do { - case ((_ammoName find "6.5") > -1): {if (_ammoName find "LMG_Mk200" > -1) then {_result = "muzzle_snds_H";} else {_result = "muzzle_snds_H_MG";};}; + case ((_ammoName find "6.5") > -1): { + if (_ammoName find "LMG_Mk200" > -1) then { + _result = "muzzle_snds_H_MG"; + } else { + _result = "muzzle_snds_H"; + }; + }; case ((_ammoName find "5.56") > -1): {_result = "muzzle_snds_M";};