@@ -135,14 +135,14 @@ public bool OverlayNoBG
135
135
public bool CofferButton = true ;
136
136
public bool TTButton = true ;
137
137
138
+
139
+ //Dev Options
138
140
internal bool updatePathsOnStartup = true ;
139
141
public bool UpdatePathsOnStartup
140
142
{
141
143
get => ! Plugin . isDev || this . updatePathsOnStartup ;
142
144
set => this . updatePathsOnStartup = value ;
143
145
}
144
-
145
- //Dev Options
146
146
147
147
148
148
//Duty Config Options
@@ -295,8 +295,11 @@ public bool AutoGCTurnin
295
295
public bool TerminationKeepActive = true ;
296
296
297
297
//BMAI Config Options
298
- public bool HideBossModAIConfig = false ;
299
- internal bool maxDistanceToTargetRoleBased = true ;
298
+ public bool HideBossModAIConfig = false ;
299
+ public bool BM_UpdatePresetsOnLaunch = true ;
300
+
301
+
302
+ internal bool maxDistanceToTargetRoleBased = true ;
300
303
public bool MaxDistanceToTargetRoleBased
301
304
{
302
305
get => maxDistanceToTargetRoleBased ;
@@ -698,6 +701,8 @@ public static void Draw()
698
701
BossMod_IPCSubscriber . RefreshPreset ( "AutoDuty" , Resources . AutoDutyPreset ) ;
699
702
BossMod_IPCSubscriber . RefreshPreset ( "AutoDuty Passive" , Resources . AutoDutyPassivePreset ) ;
700
703
}
704
+ if ( ImGui . Checkbox ( "Update Presets on Launch" , ref Configuration . BM_UpdatePresetsOnLaunch ) )
705
+ Configuration . Save ( ) ;
701
706
if ( ImGui . Checkbox ( "Set Max Distance To Target Based on Player Role" , ref Configuration . maxDistanceToTargetRoleBased ) )
702
707
{
703
708
Configuration . MaxDistanceToTargetRoleBased = Configuration . maxDistanceToTargetRoleBased ;
0 commit comments