Skip to content

Commit

Permalink
Added a config to not auto change to standard mode on startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jul 19, 2024
1 parent a5b1fd4 commit b20ad80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions functions/profiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,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 = {},
Expand Down
6 changes: 3 additions & 3 deletions startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,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
Expand Down

0 comments on commit b20ad80

Please sign in to comment.