Don't show low FPS hint when map is open

FPS is automatically capped on map display.
This commit is contained in:
ebayShopper
2016-11-29 11:10:00 -05:00
committed by GitHub
parent ee63d526f0
commit 2cb55d85cd

View File

@@ -25,11 +25,13 @@ sched_onEachFrame = {
}; };
if (sched_ef_lowFPSctr >= 100) then { if (sched_ef_lowFPSctr >= 100) then {
sched_ef_lowFPSctr = 2; sched_ef_lowFPSctr = 2;
hintSilent localize "str_player_lowPFS"; if (!visibleMap) then {
diag_log format [ "h1nt: LOW FPS (%1)", diag_fpsmin ]; hintSilent localize "str_player_lowPFS";
diag_log format [ "h1nt: LOW FPS (%1)", diag_fpsmin ];
};
}; };
if (!isNil "dayz_groupIcons") then {call dayz_groupIcons;}; if (!isNil "dayz_groupIcons") then {call dayz_groupIcons;};
_ret _ret
}; };