mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Markers - Use lbData for channel selection (#9693)
* Change channel based on lbData instead of index * Add author
This commit is contained in:
parent
257ae757be
commit
c3f442ffa7
@ -1,6 +1,6 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
* Author: commy2, LinkIsGrim
|
||||
* Author: commy2, LinkIsGrim, Avokadomos
|
||||
* When the channel list box is changed.
|
||||
*
|
||||
* Arguments:
|
||||
@ -21,4 +21,4 @@ TRACE_2("params",_ctrl,_index);
|
||||
|
||||
private _enabledChannels = false call FUNC(getEnabledChannels);
|
||||
|
||||
setCurrentChannel (_enabledChannels select _index);
|
||||
setCurrentChannel (_enabledChannels select parseNumber (_ctrl lbData _index));
|
||||
|
Loading…
Reference in New Issue
Block a user