fix world_setseason command not normalising season
This commit is contained in:
parent
536d85cf9a
commit
317a337646
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue