mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use isEqualTo.
This commit is contained in:
parent
3070b2ac6e
commit
f28f90b624
@ -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];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user