Revert "Send new group to server for update"

This reverts commit 3f83354066.
This commit is contained in:
ebaydayz
2016-10-30 12:50:37 -04:00
parent 3f83354066
commit 6d8afc9d32
7 changed files with 12 additions and 13 deletions

View File

@@ -1,9 +1,8 @@
private ["_event","_group","_groupUIDs","_key","_newGroup","_player","_playerUID","_targetUID"];
private ["_event","_groupUIDs","_key","_newGroup","_player","_playerUID","_targetUID"];
_event = _this select 0;
_player = _this select 1;
_group = _this select 2;
_targetUID = if (count _this > 3) then {_this select 3} else {"0"};
_targetUID = if (count _this > 2) then {_this select 2} else {"0"};
_playerUID = getPlayerUID _player;
_groupUIDs = [];
@@ -11,7 +10,7 @@ _groupUIDs = [];
if (alive _x && isPlayer _x) then {
_groupUIDs set [count _groupUIDs,getPlayerUID _x];
};
} count (units _group);
} count (units group _player);
_newGroup = [];
_newGroup = switch _event do {