mirror of
https://github.com/valmojr/armatak.git
synced 2026-08-18 16:02:58 +00:00
Improved entity router cycle
This commit is contained in:
@@ -36,7 +36,7 @@ switch (false) do {
|
||||
|
||||
GVAR(syncedUnits) pushBack _unit;
|
||||
|
||||
missionNamespace setVariable ["armatak_server_syncedUnits", GVAR(syncedUnits)];
|
||||
missionNamespace setVariable ["armatak_server_syncedUnits", GVAR(syncedUnits), true];
|
||||
SETVAR(_unit,GVAR(isRouting),true);
|
||||
|
||||
deleteVehicle _logic;
|
||||
|
||||
@@ -34,7 +34,7 @@ switch (false) do {
|
||||
};
|
||||
} forEach GVAR(syncedUnits);
|
||||
|
||||
missionNamespace setVariable ["armatak_server_syncedUnits", GVAR(syncedUnits)];
|
||||
missionNamespace setVariable ["armatak_server_syncedUnits", GVAR(syncedUnits), true];
|
||||
SETVAR(_unit,GVAR(isRouting),false);
|
||||
|
||||
deleteVehicle _logic;
|
||||
|
||||
Reference in New Issue
Block a user