removed private identifier from global variables

This commit is contained in:
Valmo Trindade
2025-05-13 01:09:51 -03:00
parent a997c54170
commit 01efe4e01d
3 changed files with 12 additions and 35 deletions

View File

@@ -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];