From 7472b0e41afe6b0a0c30fdc2f1b131570635ee57 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 17 May 2026 20:34:00 -0700 Subject: [PATCH] Fix startup credits packaging warning --- Source/AgrarianGame/AgrarianDemoNoticeWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/AgrarianGame/AgrarianDemoNoticeWidget.cpp b/Source/AgrarianGame/AgrarianDemoNoticeWidget.cpp index 9972d1b..e4d6199 100644 --- a/Source/AgrarianGame/AgrarianDemoNoticeWidget.cpp +++ b/Source/AgrarianGame/AgrarianDemoNoticeWidget.cpp @@ -147,19 +147,19 @@ void UAgrarianDemoNoticeWidget::DrawCinematicCredits( const float ExitSeconds = 0.48f; const float GapSeconds = 0.16f; - float Cursor = IntroDelay; + float TimelineCursor = IntroDelay; int32 ActiveIndex = INDEX_NONE; float LocalTime = 0.0f; for (int32 Index = 0; Index < UE_ARRAY_COUNT(CreditCards); ++Index) { const float CardDuration = SlamSeconds + CreditCards[Index].HoldSeconds + ExitSeconds + GapSeconds; - if (Elapsed >= Cursor && Elapsed < Cursor + CardDuration) + if (Elapsed >= TimelineCursor && Elapsed < TimelineCursor + CardDuration) { ActiveIndex = Index; - LocalTime = Elapsed - Cursor; + LocalTime = Elapsed - TimelineCursor; break; } - Cursor += CardDuration; + TimelineCursor += CardDuration; } if (ActiveIndex == INDEX_NONE)