fix: disabled subtitle transitions when there's no subtitles to transition

This commit is contained in:
FreezeDriedMangoes 2022-05-22 09:49:22 -04:00
parent a9af62878d
commit 4ae8d71f2c

View File

@ -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;