summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-10 13:12:34 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-10 13:12:34 -0500
commitaab4ddf05ed825d043330c5d65f7d3503b8b02fb (patch)
treea92367c41a96cee24139be4b07746eec7a7a7888
parentbdb7b04b3edecdf7dfa665d8b5a50a1bbff62699 (diff)
downloadSMAPI-aab4ddf05ed825d043330c5d65f7d3503b8b02fb.tar.gz
SMAPI-aab4ddf05ed825d043330c5d65f7d3503b8b02fb.tar.bz2
SMAPI-aab4ddf05ed825d043330c5d65f7d3503b8b02fb.zip
fix title screen music not stopping after save is loaded
-rw-r--r--docs/release-notes.md4
-rw-r--r--src/SMAPI/Framework/SCore.cs1
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 6a6b07a2..f4f65653 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -7,6 +7,10 @@
* Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info).
-->
+## Upcoming release
+* For players:
+ * Fixed issue where title screen music didn't stop after loading a save.
+
## 3.8.3
Released 08 January 2021 for Stardew Valley 1.5.2 or later.
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 3a51b418..f9a36593 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -619,6 +619,7 @@ namespace StardewModdingAPI.Framework
if (Game1.currentLoader != null)
{
this.Monitor.Log("Game loader synchronizing...");
+ this.Reflection.GetMethod(Game1.game1, "UpdateTitleScreen").Invoke(Game1.currentGameTime); // run game logic to change music on load, etc
while (Game1.currentLoader?.MoveNext() == true)
{
// raise load stage changed