fix game launch error logged as 'SMAPI'
This commit is contained in:
parent
95b1dedb66
commit
8eee91c67d
|
@ -4,6 +4,7 @@
|
|||
* Fixed error when a mod makes invalid changes to an NPC schedule.
|
||||
* Fixed invalid NPC data propagated when a mod changes NPC dispositions.
|
||||
* Fixed `Display.RenderedWorld` event broken in SMAPI 2.9.1.
|
||||
* Fixed game launch crash logged as `SMAPI` instead of `game`.
|
||||
|
||||
* For modders:
|
||||
* Added dedicated content pack API.
|
||||
|
|
|
@ -315,7 +315,7 @@ namespace StardewModdingAPI.Framework
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.Monitor.Log($"The game failed unexpectedly: {ex.GetLogSummary()}", LogLevel.Error);
|
||||
this.MonitorForGame.Log($"The game failed to launch: {ex.GetLogSummary()}", LogLevel.Error);
|
||||
this.PressAnyKeyToExit();
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Reference in New Issue