Skip to content

Commit 7285893

Browse files
authored
Core - Fix error return type for processRadioSpeaker (#1392)
sys_core - Fix error return type for `processRadioSpeaker`
1 parent f7161c9 commit 7285893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/sys_core/fnc_processRadioSpeaker.sqf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ params ["_unit","_playerRadios"];
2626
TRACE_2("",_unit,_playerRadios);
2727

2828
private _radioId = _unit getVariable [QGVAR(currentSpeakingRadio), ""];
29-
if (_radioId == "") exitWith { false };
29+
if (_radioId == "") exitWith { [] };
3030

3131
// Workaround #638 - _radioId is nil - TODO investigate further
3232
// Probable source: https://github.com/IDI-Systems/acre2/blob/c03262be2190cd54c3cb5f27d7ca3eddf7270506/addons/sys_core/fnc_remoteStartSpeaking.sqf#L107
33-
if (isNil "_radioId") exitWith { false };
33+
if (isNil "_radioId") exitWith { [] };
3434

3535
// @todo if Underwater Radios are implemented
3636
//if (ACRE_LISTENER_DIVE == 1) exitWith { false };

0 commit comments

Comments
 (0)