mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 16:43:30 +00:00
removed private identifier from global variables
This commit is contained in:
@@ -3,7 +3,7 @@ params["_group"];
|
||||
_group_name = _group getVariable "_atak_group_name";
|
||||
|
||||
if (isNil "_group_name") then {
|
||||
_group_colors = missionNamespace getVariable "_group_colors";
|
||||
_group_colors = missionNamespace getVariable "armatak_group_colors";
|
||||
_group_name = selectRandom _group_colors;
|
||||
|
||||
if (count _group_colors > 0) then {
|
||||
@@ -15,7 +15,7 @@ if (isNil "_group_name") then {
|
||||
|
||||
_group_name = _selectedColor;
|
||||
_group setVariable ["_atak_group_name", _group_name];
|
||||
missionNamespace setVariable ["_group_colors", _group_colors]
|
||||
missionNamespace setVariable ["armatak_group_colors", _group_colors]
|
||||
} else {
|
||||
_group_name = "Red";
|
||||
_group setVariable ["_atak_group_name", _group_name];
|
||||
|
||||
Reference in New Issue
Block a user