Use isEqualTo.

This commit is contained in:
voiper 2016-06-16 12:21:40 -07:00
parent 3070b2ac6e
commit f28f90b624

View File

@ -31,7 +31,7 @@ private _config = configFile >> "CfgAmmo" >> _ammo;
if (local _unit) then {
// handle priming sound, if present
private _soundConfig = getArray (configFile >> "CfgAmmo" >> _ammo >> QGVAR(pullPinSound));
if (count _soundConfig > 0) then {
if !(_soundConfig isEqualTo []) then {
_soundConfig params ["_file", "_volume", "_pitch", "_distance"];
playSound3D [_file, objNull, false, getPosASL _projectile, _volume, _pitch, _distance];
};