diff --git a/NewHorizons/Components/NHGameOverManager.cs b/NewHorizons/Components/NHGameOverManager.cs index 467d3a66..f1055799 100644 --- a/NewHorizons/Components/NHGameOverManager.cs +++ b/NewHorizons/Components/NHGameOverManager.cs @@ -183,7 +183,7 @@ namespace NewHorizons.Components // Patch scroll duration var creditsScroll = Locator.FindObjectOfType(); - creditsScroll._scrollDuration = gameOver.scrollDuration; + creditsScroll._scrollDuration = gameOver.length; }); LoadManager.OnCompleteSceneLoad -= completeCreditsLoad; diff --git a/NewHorizons/External/Modules/GameOverModule.cs b/NewHorizons/External/Modules/GameOverModule.cs index eb0fd911..2fae76ee 100644 --- a/NewHorizons/External/Modules/GameOverModule.cs +++ b/NewHorizons/External/Modules/GameOverModule.cs @@ -46,7 +46,7 @@ namespace NewHorizons.External.Modules public bool audioLooping; /// - /// Whether the credits music should fade in. + /// Length of the credits music fade in. /// Note: only applies when creditsType is set to "custom". /// [DefaultValue(0f)] @@ -57,7 +57,7 @@ namespace NewHorizons.External.Modules /// Note: only applies when creditsType is set to "custom". /// [DefaultValue(120f)] - public float scrollDuration; + public float length; /// /// The type of credits that will run after the game over message is shown