Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Move to unscheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcroox committed Nov 6, 2016
1 parent fb536cf commit 4603715
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion addons/main/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if !(isServer) exitWith { ERROR_WITH_TITLE("AAR - ERROR", "Addon must be run ser
["replaySetup", {

// Start event saving buffer
[] spawn FUNC(trackLoop);
call FUNC(trackLoop);

call FUNC(addMissionEventHandlers);

Expand Down
9 changes: 3 additions & 6 deletions addons/main/functions/fnc_trackLoop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ private _timeSinceLastGroundVehicleInsert = time;
private _timeSinceLastAirVehicleInsert = time;
private _timeSinceLastMarkerInsert = time;

// Just log markers once
// Just log markers once (for now)
call FUNC(trackMarkers);

while { true } do {

[{
if (GVAR(logEvents)) then {

// We only want to log movements if there are players in the map
Expand Down Expand Up @@ -66,6 +65,4 @@ while { true } do {
GVAR(noPlayers) = true;
};
};

sleep (0.2);
};
}, 0.2] call CBA_fnc_addPerFrameHandler;
2 changes: 1 addition & 1 deletion addons/main/script_mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define MAJOR 1
#define MINOR 0
#define PATCHLVL 3
#define PATCHLVL 4
#define BUILD 0

#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
Expand Down

0 comments on commit 4603715

Please sign in to comment.