add locale to context trace logs
This commit is contained in:
parent
6b6ccb87de
commit
f540d2ab29
|
@ -17,6 +17,7 @@
|
|||
|
||||
* For modders:
|
||||
* Asset changes are now propagated into the parsed save being loaded if applicable.
|
||||
* Added locale to context trace logs.
|
||||
* Fixed error loading custom map tilesheets in some cases.
|
||||
* Fixed `Constants.SaveFolderName` and `CurrentSavePath` not available during early load stages when using `Specialised.LoadStageChanged` event.
|
||||
* Fixed `LoadStage.SaveParsed` raised before the parsed save data is available.
|
||||
|
|
|
@ -513,7 +513,7 @@ namespace StardewModdingAPI.Framework
|
|||
else if (Context.IsWorldReady && Context.LoadStage != LoadStage.Ready)
|
||||
{
|
||||
// print context
|
||||
string context = $"Context: loaded saved game '{Constants.SaveFolderName}', starting {Game1.currentSeason} {Game1.dayOfMonth} Y{Game1.year}.";
|
||||
string context = $"Context: loaded save '{Constants.SaveFolderName}', starting {Game1.currentSeason} {Game1.dayOfMonth} Y{Game1.year}, locale set to {this.ContentCore.Language}.";
|
||||
if (Context.IsMultiplayer)
|
||||
{
|
||||
int onlineCount = Game1.getOnlineFarmers().Count();
|
||||
|
|
Loading…
Reference in New Issue