Use joinSilent instead of join

This commit is contained in:
ebaydayz
2016-10-30 13:54:55 -04:00
parent 6d8afc9d32
commit abb0475d28
9 changed files with 13 additions and 10 deletions

View File

@@ -124,7 +124,7 @@ _switchUnit = {
{_oldUnit removeMagazine _x;} count magazines _oldUnit;
if !(isNull _oldUnit) then {deleteVehicle _oldUnit;};
if (!isNil "dayz_groupInit" && count (units _oldGroup) > 1) then {
[_newUnit] join _oldGroup;
[_newUnit] joinSilent _oldGroup;
if (count (units _group) == 0) then {deleteGroup _group;};
};
if (count (units _oldGroup) == 0) then {deleteGroup _oldGroup;};