mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced _targetUnit for ObjNull
Replaced _targetUnit for objNull.
This commit is contained in:
parent
6540158ce1
commit
da19a89be8
@ -112,7 +112,7 @@ if (_activated && local _logic) then {
|
||||
// If no unit is to close to this position, we will play the sound.
|
||||
if ({(_newPos distance _x < (_minimalDistance / 2))}count _allUnits == 0) then {
|
||||
|
||||
playSound3D [_ambianceSounds select (round(random((count _ambianceSounds)-1))), _targetUnit, false, _newPos, _volume, 1, 1000];
|
||||
playSound3D [_ambianceSounds select (round(random((count _ambianceSounds)-1))), ObjNull, false, _newPos, _volume, 1, 1000];
|
||||
_args set [8, time];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user