File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ void Initialize()
59
59
60
60
State::Initialize ();
61
61
Path::Initialize (NexusHandle);
62
+ // Paradigm::Initialize();
62
63
63
64
Updater::Initialize ();
64
65
@@ -72,16 +73,21 @@ void Initialize()
72
73
Keybinds::Initialize ();
73
74
Keybinds::Load ();
74
75
Settings::Load ();
75
-
76
- if (!Settings::Settings[OPT_DEVMODE].is_null ())
77
- {
78
- State::IsDeveloperMode = Settings::Settings[OPT_DEVMODE].get <bool >();
79
- }
80
- else
76
+
77
+ // if it's not already been explicitly set via command line, check settings
78
+ if (!State::IsDeveloperMode)
81
79
{
82
- State::IsDeveloperMode = false ;
83
- Settings::Settings[OPT_DEVMODE] = false ;
80
+ if (!Settings::Settings[OPT_DEVMODE].is_null ())
81
+ {
82
+ State::IsDeveloperMode = Settings::Settings[OPT_DEVMODE].get <bool >();
83
+ }
84
+ else
85
+ {
86
+ State::IsDeveloperMode = false ;
87
+ Settings::Settings[OPT_DEVMODE] = false ;
88
+ }
84
89
}
90
+
85
91
// API::Initialize();
86
92
87
93
Mumble::Initialize ();
You can’t perform that action at this time.
0 commit comments