Always skip credits if plugin is active, as they're after duties so the plugin is never 'running'

cacahuetes-minorupdate1
Liza 2024-08-15 01:24:38 +02:00
parent fa25db7be0
commit e45c05a181
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 0 additions and 9 deletions

View 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);