Make combat application hold disabled by default

This commit is contained in:
Loporrit
2025-05-18 02:58:37 +00:00
parent e2e59bd396
commit e603539319
4 changed files with 28 additions and 7 deletions

View File

@@ -659,6 +659,15 @@ public class SettingsUi : WindowMediatorSubscriberBase
_configService.Save();
}
bool holdCombatApplication = _configService.Current.HoldCombatApplication;
if (ImGui.Checkbox("Hold application during combat", ref holdCombatApplication))
{
if (!holdCombatApplication)
Mediator.Publish(new CombatOrPerformanceEndMessage());
_configService.Current.HoldCombatApplication = holdCombatApplication;
_configService.Save();
}
ImGui.Separator();
_uiShared.BigText("Debug");
#if DEBUG