Always skip credits if plugin is active, as they're after duties so the plugin is...
authorLiza Carvelli <liza@carvel.li>
Wed, 14 Aug 2024 23:24:38 +0000 (01:24 +0200)
committerLiza Carvelli <liza@carvel.li>
Wed, 14 Aug 2024 23:24:38 +0000 (01:24 +0200)
Questionable/Controller/GameUiController.cs

index 369f8361cc21a66b6e8d0f52f7bee0e6d060ab22..22f6506d9af61f442a6040fd2c780adeff4088d5 100644 (file)
@@ -741,9 +741,6 @@ internal sealed class GameUiController : IDisposable
     /// </summary>
     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
     /// </summary>
     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);