Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Co-Authored-By: jonpas <[email protected]>
  • Loading branch information
mrschick and jonpas committed Dec 13, 2024
1 parent 805cdf2 commit 7c1c580
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/api/fnc_setRadioChannel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ if !(_radioId isEqualType "") exitWith { false };
if (_channelNumber isEqualType 0) then {
private _eventData = _channelNumber - 1;
if (([_radioId] call FUNC(getBaseRadio)) == "ACRE_PRC77") then {
[_channelNumber, 0] // ACRE_PRC77 expects an array of [mhzKnob, khzKnob]
}
_eventData = [_channelNumber, 0] // ACRE_PRC77 expects an array of [mhzKnob, khzKnob]
};
[_radioId, "setCurrentChannel", _eventData] call EFUNC(sys_data,dataEvent);
} else {
Expand Down

0 comments on commit 7c1c580

Please sign in to comment.