summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.ConsoleCommands/Framework/Commands
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-12 16:04:18 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-12 16:04:18 -0400
commitccd09eb9143bee60bfdc4182c3a7505fabddbe48 (patch)
tree6a85b864ae478c8b09f23be2ded014cf6c2bb83c /src/SMAPI.Mods.ConsoleCommands/Framework/Commands
parentb474c47a08813eef41db7f558f2efa33f6165d81 (diff)
downloadSMAPI-ccd09eb9143bee60bfdc4182c3a7505fabddbe48.tar.gz
SMAPI-ccd09eb9143bee60bfdc4182c3a7505fabddbe48.tar.bz2
SMAPI-ccd09eb9143bee60bfdc4182c3a7505fabddbe48.zip
fix world_setseason command not running season change logic
Diffstat (limited to 'src/SMAPI.Mods.ConsoleCommands/Framework/Commands')
-rw-r--r--src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs
index 897d052f..3d6d4b3d 100644
--- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs
+++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs
@@ -1,4 +1,4 @@
-using System.Linq;
+using System.Linq;
using StardewValley;
namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World
@@ -39,6 +39,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World
// handle
Game1.currentSeason = season;
+ Game1.setGraphicsForSeason();
monitor.Log($"OK, the date is now {Game1.currentSeason} {Game1.dayOfMonth}.", LogLevel.Info);
}
}