Remove Update Rate field

This commit is contained in:
GreenComfyTea
2022-07-13 18:11:45 +03:00
parent 37aebf8ca7
commit 158d7fa546
9 changed files with 2 additions and 14 deletions

View File

@@ -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();

View File

@@ -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 = {

View File

@@ -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",

View File

@@ -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