From 5cf7c18a511a05bbbf815c8fad0493f9737edb9f Mon Sep 17 00:00:00 2001 From: josshmot Date: Sat, 5 Apr 2025 10:47:54 +1000 Subject: [PATCH] Renamed a few things --- NewHorizons/Components/NHGameOverManager.cs | 2 +- NewHorizons/External/Modules/GameOverModule.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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