mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
fix: disabled subtitle transitions when there's no subtitles to transition
This commit is contained in:
parent
a9af62878d
commit
4ae8d71f2c
@ -67,6 +67,9 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
public void Update()
|
public void Update()
|
||||||
{
|
{
|
||||||
|
// don't fade transition subtitles if there's only one subtitle
|
||||||
|
if (possibleSubtitles.Count <= 1) return;
|
||||||
|
|
||||||
if (fadingAway)
|
if (fadingAway)
|
||||||
{
|
{
|
||||||
fade -= fadeSpeed;
|
fade -= fadeSpeed;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user