Added a config to not auto change to standard mode on startup.

This commit is contained in:
Tercio Jose
2024-07-19 18:20:10 -03:00
committed by andrew6180
parent 821c49f336
commit 8f46be97d4
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -1205,6 +1205,8 @@ local default_global_data = {
encounter_journal_cache = {}, --store a dump of the encounter journal encounter_journal_cache = {}, --store a dump of the encounter journal
installed_skins_cache = {}, installed_skins_cache = {},
auto_change_to_standard = true,
debug_options_panel = { debug_options_panel = {
scaletable = {scale = 1}, scaletable = {scale = 1},
position = {}, position = {},
+3 -3
View File
@@ -178,9 +178,9 @@ function Details222.StartUp.StartMeUp()
for id = 1, Details:GetNumInstances() do for id = 1, Details:GetNumInstances() do
local instance = Details:GetInstance(id) local instance = Details:GetInstance(id)
if (instance:IsEnabled()) then if (instance:IsEnabled()) then
if (instance.modo == 3) then --everything if (instance.modo == 3 and Details.auto_change_to_standard) then --everything
instance.LastModo = 2 --standard instance.LastModo = 2 --standard
instance.modo = 2 --standard instance.modo = 2 --standard
end end
--refresh wallpaper --refresh wallpaper