initial files

This commit is contained in:
Samuele Lorefice
2025-05-24 16:17:33 +02:00
commit 9e023649ac
477 changed files with 118566 additions and 0 deletions

View File

@@ -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;
};