mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Use joinSilent instead of join
This commit is contained in:
@@ -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;};
|
||||
|
||||
Reference in New Issue
Block a user