We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f5c2d commit 68af186Copy full SHA for 68af186
addons/modules/functions/fnc_compileTracers.sqf
@@ -23,11 +23,11 @@ private _cfgMagazineWells = configFile >> "CfgMagazineWells";
23
if (
24
getNumber (_x >> "scope") == 2
25
&& {getNumber (_x >> "type") == TYPE_WEAPON_PRIMARY}
26
- && {count getArray (_x >> "muzzles") == 1}
+ && {{_x != "SAFE"} count getArray (_x >> "muzzles") == 1}
27
) then {
28
private _weapon = configName _x;
29
30
- if (getText (_x >> "baseWeapon") == _weapon) then {
+ if (_weapon call BIS_fnc_baseWeapon == _weapon) then {
31
private _magazines = getArray (_x >> "magazines");
32
33
{
0 commit comments