fix world_setseason command not normalising season

This commit is contained in:
Jesse Plamondon-Willard 2018-06-09 14:31:47 -04:00
parent 536d85cf9a
commit 317a337646
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@
* In console commands:
* Added `player_add name`, which lets you add items to your inventory by name instead of ID.
* Fixed `world_settime` sometimes breaking NPC schedules (e.g. so they stay in bed).
* Fixed `world_setseason` not normalising the season value.
* For the log parser:
* Redesigned upload page to make it more intuitive for new players.

View File

@ -38,7 +38,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World
return;
// handle
Game1.currentSeason = season;
Game1.currentSeason = season.ToLower();
Game1.setGraphicsForSeason();
monitor.Log($"OK, the date is now {Game1.currentSeason} {Game1.dayOfMonth}.", LogLevel.Info);
}