From 4ed8471104d17e163f012034f7657d14cc1f7277 Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 20 Sep 2016 15:08:21 +0200 Subject: [PATCH] only check every 0.5 seconds --- addons/events/fnc_addMarkerEventHandler.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/events/fnc_addMarkerEventHandler.sqf b/addons/events/fnc_addMarkerEventHandler.sqf index 419a7987b..1bca23f61 100644 --- a/addons/events/fnc_addMarkerEventHandler.sqf +++ b/addons/events/fnc_addMarkerEventHandler.sqf @@ -42,7 +42,7 @@ if (isNil QGVAR(oldMarkers)) then { GVAR(oldMarkers) = _newAllMapMarkers; }; - }, 0] call CBA_fnc_addPerFrameHandler; + }, 0.5] call CBA_fnc_addPerFrameHandler; }; if (_function isEqualTo {}) exitWith {-1};