summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-02-24 15:06:38 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-02-24 15:06:38 -0500
commitba55ed34ca855de13e738e6bb97dc404419f5350 (patch)
treebd956481fd46ff807a01ac8d51fcc2deeb57e291
parentfd2d7d714d025f7f787e14e47645078f988ae8ce (diff)
downloadSMAPI-ba55ed34ca855de13e738e6bb97dc404419f5350.tar.gz
SMAPI-ba55ed34ca855de13e738e6bb97dc404419f5350.tar.bz2
SMAPI-ba55ed34ca855de13e738e6bb97dc404419f5350.zip
fix 'please update your game' error not pausing before exit
-rw-r--r--src/StardewModdingAPI/Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs
index 8264d0ee..05d3e5e4 100644
--- a/src/StardewModdingAPI/Program.cs
+++ b/src/StardewModdingAPI/Program.cs
@@ -145,6 +145,7 @@ namespace StardewModdingAPI
if (Constants.GameVersion.IsOlderThan(Constants.MinimumGameVersion))
{
this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameDisplayVersion}, but the oldest supported version is {Constants.MinimumGameVersion}. Please update your game before using SMAPI. If you're on the Steam beta channel, note that the beta channel may not receive the latest updates.", LogLevel.Error);
+ this.PressAnyKeyToExit();
return;
}