From 4ae8d71f2c20c2d556e4139f13e8fc2cedff4e8e Mon Sep 17 00:00:00 2001 From: FreezeDriedMangoes Date: Sun, 22 May 2022 09:49:22 -0400 Subject: [PATCH] fix: disabled subtitle transitions when there's no subtitles to transition --- NewHorizons/Handlers/SubtitlesHandler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NewHorizons/Handlers/SubtitlesHandler.cs b/NewHorizons/Handlers/SubtitlesHandler.cs index a7966fd1..a74e753d 100644 --- a/NewHorizons/Handlers/SubtitlesHandler.cs +++ b/NewHorizons/Handlers/SubtitlesHandler.cs @@ -67,6 +67,9 @@ namespace NewHorizons.Handlers public void Update() { + // don't fade transition subtitles if there's only one subtitle + if (possibleSubtitles.Count <= 1) return; + if (fadingAway) { fade -= fadeSpeed;