From 0332fbc6ed200487b3c1a1e0583143f5de4d62a4 Mon Sep 17 00:00:00 2001 From: tbox1911 Date: Wed, 29 May 2024 18:10:45 +0200 Subject: [PATCH] sync active_sectors --- core.liberation/scripts/server/sector/manage_one_sector.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core.liberation/scripts/server/sector/manage_one_sector.sqf b/core.liberation/scripts/server/sector/manage_one_sector.sqf index 64a4a36f7..cca54821a 100644 --- a/core.liberation/scripts/server/sector/manage_one_sector.sqf +++ b/core.liberation/scripts/server/sector/manage_one_sector.sqf @@ -1,5 +1,6 @@ params [ "_sector" ]; active_sectors pushback _sector; +publicVariable "active_sectors"; private _sector_pos = markerPos _sector; private _stopit = false; @@ -288,6 +289,7 @@ if ( (!(_sector in blufor_sectors)) && (([_sector_pos, GRLIB_sector_size, GRLIB_ }; active_sectors = active_sectors - [_sector]; +publicVariable "active_sectors"; diag_log format ["End Defend Sector %1 at %2", _sector, time]; // Cleanup