mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Remove Update Rate field
This commit is contained in:
@@ -44,7 +44,7 @@ function time.tick()
|
||||
time.total_elapsed_seconds = quest_time_total_elapsed_seconds;
|
||||
time.elapsed_seconds = quest_time_total_elapsed_seconds - quest_time_elapsed_minutes * 60;
|
||||
|
||||
if time.total_elapsed_script_seconds - time.last_elapsed_script_seconds > 60 / config.current_config.global_settings.performance.update_rate then
|
||||
if time.total_elapsed_script_seconds - time.last_elapsed_script_seconds > 1 then
|
||||
time.last_elapsed_script_seconds = time.total_elapsed_script_seconds;
|
||||
time.update_players_dps();
|
||||
--time.update_small_monsters();
|
||||
|
||||
@@ -30,8 +30,7 @@ function config.init()
|
||||
|
||||
performance = {
|
||||
max_monster_updates_per_tick = 2,
|
||||
prioritize_large_monsters = false,
|
||||
update_rate = 60,
|
||||
prioritize_large_monsters = false
|
||||
},
|
||||
|
||||
module_visibility = {
|
||||
|
||||
@@ -376,7 +376,6 @@ language.default_language = {
|
||||
|
||||
player_name_size_limit = "Player Name Size Limit",
|
||||
|
||||
update_rate = "Update Rate",
|
||||
cart_count = "Cart Count",
|
||||
cart_count_label = "Cart Count Label",
|
||||
|
||||
|
||||
@@ -829,11 +829,6 @@ function customization_menu.draw()
|
||||
language.current_language.customization_menu.prioritize_large_monsters,
|
||||
config.current_config.global_settings.performance.prioritize_large_monsters);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed, config.current_config.global_settings.performance.update_rate = imgui.slider_int(language.current_language
|
||||
.customization_menu.update_rate,
|
||||
config.current_config.global_settings.performance.update_rate, 1, 400);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user