fix audio error on startup for some players by deferring update check
This commit is contained in:
parent
c49f6f26bd
commit
00a3c14446
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue