mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
FavBar: perf optimization - new 5 sec event
This commit is contained in:
parent
a09c53b723
commit
49e67d24d4
@ -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 {
|
||||
|
2
Sources/epoch_code/compile/setup/masterLoop/Event8.sqf
Normal file
2
Sources/epoch_code/compile/setup/masterLoop/Event8.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
//Updates favorites bar
|
||||
call epoch_favBar_refresh;
|
@ -44,6 +44,10 @@ class CfgMasterLoop
|
||||
{
|
||||
delay = 600;
|
||||
};
|
||||
class Event8
|
||||
{
|
||||
delay = 5; //used for FavBar, adjust as required
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user