Only run group tags loop when in a group

This commit is contained in:
ebayShopper
2017-02-13 14:27:40 -05:00
parent e8dd8fac63
commit 6e846847de
6 changed files with 15 additions and 3 deletions

View File

@@ -41,7 +41,9 @@ dayz_promotePlayer = compile preprocessFileLineNumbers "\z\addons\dayz_code\grou
dayz_rejectGroup = compile preprocessFileLineNumbers "\z\addons\dayz_code\groups\reject.sqf";
dayz_groupInit = true;
execVM "\z\addons\dayz_code\groups\groupTags.sqf";
if (count (units group player) > 1) then {
dayz_groupTags = execVM "\z\addons\dayz_code\groups\groupTags.sqf";
};
if (dayz_requireRadio or {dayz_markGroup > 0} or {dayz_markSelf > 0} or {dayz_markBody > 0}) then {
execVM "\z\addons\dayz_code\groups\groupMarkers.sqf";