Skip to content

Commit

Permalink
PRC152 - Previous/Next Channel Stepping via PRE+/- instead of Knob (#…
Browse files Browse the repository at this point in the history
…1325)

Co-authored-by: BrettMayson <[email protected]>
  • Loading branch information
mrschick and BrettMayson authored Dec 18, 2024
1 parent 1e1ffe0 commit 8f9a846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sys_core/fnc_switchChannelFast.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (_isManpack == 0 || {_isRackRadio}) then {
_channel = ((_channel + _dir) max (_currentBlock*16 + 1)) min ((_currentBlock + 1)*16);
};
case "ACRE_PRC152": {
_channel = (_channel + _dir) min 5;
_channel = (_channel + _dir + 98) % 99 + 1;
};
case "ACRE_PRC77": {
_channel = (_channel select 0) + _dir;
Expand Down

0 comments on commit 8f9a846

Please sign in to comment.