From: Liza Carvelli Date: Wed, 14 Aug 2024 23:24:38 +0000 (+0200) Subject: Always skip credits if plugin is active, as they're after duties so the plugin is... X-Git-Tag: v2.9~1 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=e45c05a1815f326504604ffd62eb75c0155b7d2a;p=Questionable.git Always skip credits if plugin is active, as they're after duties so the plugin is never 'running' --- diff --git a/Questionable/Controller/GameUiController.cs b/Questionable/Controller/GameUiController.cs index 369f8361..22f6506d 100644 --- a/Questionable/Controller/GameUiController.cs +++ b/Questionable/Controller/GameUiController.cs @@ -741,9 +741,6 @@ internal sealed class GameUiController : IDisposable /// private unsafe void CreditScrollPostSetup(AddonEvent type, AddonArgs args) { - if (!ShouldHandleUiInteractions) - return; - _logger.LogInformation("Closing Credits sequence"); AtkUnitBase* addon = (AtkUnitBase*)args.Addon; addon->FireCallbackInt(-2); @@ -754,9 +751,6 @@ internal sealed class GameUiController : IDisposable /// private unsafe void CreditPostSetup(AddonEvent type, AddonArgs args) { - if (!ShouldHandleUiInteractions) - return; - _logger.LogInformation("Closing Credits sequence"); AtkUnitBase* addon = (AtkUnitBase*)args.Addon; addon->FireCallbackInt(-2); @@ -764,9 +758,6 @@ internal sealed class GameUiController : IDisposable private unsafe void CreditPlayerPostSetup(AddonEvent type, AddonArgs args) { - if (!ShouldHandleUiInteractions) - return; - _logger.LogInformation("Closing CreditPlayer"); AtkUnitBase* addon = (AtkUnitBase*)args.Addon; addon->Close(true);