Skip to content

Commit

Permalink
Merge pull request #438 from xanunderscore/patch-3
Browse files Browse the repository at this point in the history
turn off ForceDisable on combat end
  • Loading branch information
awgil authored Aug 26, 2024
2 parents ab55175 + 4710acf commit 3d03e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/Autorotation/RotationModuleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void OnCombatChanged(Actor actor)

CombatStart = actor.InCombat ? WorldState.CurrentTime : default; // keep track of combat time in case rotation modules want to do something special in openers

if (!actor.InCombat && Config.ClearPresetOnCombatEnd)
if (!actor.InCombat && (Config.ClearPresetOnCombatEnd || Preset?.Name == ""))
{
// player exits combat => clear manual overrides
Service.Log($"[RMM] Player exits combat => clear preset '{Preset?.Name ?? "<n/a>"}'");
Expand Down

0 comments on commit 3d03e2a

Please sign in to comment.