mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add validation on group id for map gesture color mapping (#4976)
This commit is contained in:
parent
0841c05a6d
commit
acf422b774
@ -24,6 +24,7 @@ TRACE_3("params",_group,_leadColor,_unitColor);
|
||||
|
||||
if (_group isEqualType grpNull) then {_group = groupID _group};
|
||||
|
||||
if (_group == "") exitWith {ERROR("Group ID is blank, which is not valid.")};
|
||||
if (!([_leadColor] call FUNC(isValidColorArray))) exitWith {ERROR("leadColor is not a valid color array.")};
|
||||
if (!([_unitColor] call FUNC(isValidColorArray))) exitWith {ERROR("color is not a valid color array.")};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user