From 8f46be97d4de566f878c4fcf0173e018b356188d Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Fri, 19 Jul 2024 18:20:10 -0300 Subject: [PATCH] Added a config to not auto change to standard mode on startup. --- functions/profiles.lua | 2 ++ startup.lua | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/functions/profiles.lua b/functions/profiles.lua index 3a8f66b2..f26cfa91 100644 --- a/functions/profiles.lua +++ b/functions/profiles.lua @@ -1205,6 +1205,8 @@ local default_global_data = { encounter_journal_cache = {}, --store a dump of the encounter journal installed_skins_cache = {}, + auto_change_to_standard = true, + debug_options_panel = { scaletable = {scale = 1}, position = {}, diff --git a/startup.lua b/startup.lua index e60144a8..7afd82c4 100644 --- a/startup.lua +++ b/startup.lua @@ -178,9 +178,9 @@ function Details222.StartUp.StartMeUp() for id = 1, Details:GetNumInstances() do local instance = Details:GetInstance(id) if (instance:IsEnabled()) then - if (instance.modo == 3) then --everything - instance.LastModo = 2 --standard - instance.modo = 2 --standard + if (instance.modo == 3 and Details.auto_change_to_standard) then --everything + instance.LastModo = 2 --standard + instance.modo = 2 --standard end --refresh wallpaper