mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-23 00:20:50 +03:00
Hide group buttons on use
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
private "_group";
|
||||
|
||||
_group = group player;
|
||||
if (count (units _group) == 1 or (!isNil "dayz_groupDisbandThread" && {!scriptDone dayz_groupDisbandThread})) exitWith {
|
||||
_this ctrlShow false;
|
||||
};
|
||||
if (count (units _group) == 1 or (!isNil "dayz_groupDisbandThread" && {!scriptDone dayz_groupDisbandThread})) exitWith {};
|
||||
|
||||
dayz_groupDisbanded = nil;
|
||||
PVDZ_Server_UpdateGroup = [4,player];
|
||||
@@ -13,9 +11,6 @@ dayz_groupDisbandThread = _group spawn {
|
||||
//Wait for response from server to confirm group finished updating in DB
|
||||
waitUntil {!isNil "dayz_groupDisbanded"};
|
||||
|
||||
{
|
||||
[_x] join grpNull;
|
||||
} count (units _this);
|
||||
|
||||
{[_x] join grpNull} count (units _this);
|
||||
deleteGroup _this;
|
||||
};
|
||||
Reference in New Issue
Block a user