fix audio error on startup for some players by deferring update check

This commit is contained in:
Jesse Plamondon-Willard 2016-11-24 12:43:28 -05:00
parent c49f6f26bd
commit 00a3c14446
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ For players:
* Fixed compatibility with some older mods.
* Fixed mod errors in most event handlers crashing the game.
* Fixed mod errors in some event handlers preventing other mods from receiving the same event.
* Fixed game crashing on startup with an audio error for some players.
For developers:
* Improved logging to show `ReflectionTypeLoadException` details when it's caught by SMAPI.

View File

@ -134,8 +134,8 @@ namespace StardewModdingAPI
return;
}
// check for update
Program.CheckForUpdateAsync();
// check for update when game loads
GameEvents.GameLoaded += (sender, e) => Program.CheckForUpdateAsync();
// launch game
Program.StartGame();