diff --git a/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf b/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf index 1ae50a7e..e1afb736 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf @@ -162,9 +162,6 @@ if (EPOCH_debugMode) then { // player to player trade loop call EPOCH_TradeLoop; -//Updates favorites bar -call epoch_favBar_refresh; - // blank out unused hud elements and prepare for next loop _hudIndex = missionNamespace getVariable [format["EPOCH_dynHUD_%1","topRight"],1]; for "_i" from _hudIndex to 9 do { diff --git a/Sources/epoch_code/compile/setup/masterLoop/Event8.sqf b/Sources/epoch_code/compile/setup/masterLoop/Event8.sqf new file mode 100644 index 00000000..116ce905 --- /dev/null +++ b/Sources/epoch_code/compile/setup/masterLoop/Event8.sqf @@ -0,0 +1,2 @@ +//Updates favorites bar +call epoch_favBar_refresh; \ No newline at end of file diff --git a/Sources/epoch_config/Configs/CfgMasterLoop.hpp b/Sources/epoch_config/Configs/CfgMasterLoop.hpp index 8c612f86..20ff39e9 100644 --- a/Sources/epoch_config/Configs/CfgMasterLoop.hpp +++ b/Sources/epoch_config/Configs/CfgMasterLoop.hpp @@ -44,6 +44,10 @@ class CfgMasterLoop { delay = 600; }; + class Event8 + { + delay = 5; //used for FavBar, adjust as required + }; }; };