move mission into src
Build Mission PBO / pack (push) Failing after 20s
Build Mission PBO / deploy (push) Has been skipped

This commit is contained in:
MrFastwind
2026-06-14 01:53:24 +02:00
parent b5bd14928e
commit 5a7879bca8
479 changed files with 45 additions and 34 deletions
@@ -0,0 +1,25 @@
waitUntil {sleep 1; !isNil "active_sectors"};
while {true} do {
uiSleep 600;
private _markedgroups = 0;
{
private _groupOwner = groupOwner _x;
private _owner = "Server";
if (_groupOwner != 2) then {
_owner = name ((allPlayers select {_groupOwner == (owner _x)}) select 0);
};
if !(isNil "_owner") then {
if !(isGroupDeletedWhenEmpty _x) then {
if (local _x) then {
_x deleteGroupWhenEmpty true;
} else {
[_x, true] remoteExec ["deleteGroupWhenEmpty", groupOwner _x];
};
_markedgroups = _markedgroups + 1;
};
};
} forEach allGroups;
};