diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-20 14:43:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-20 14:43:09 -0400 |
commit | e09499f628e6fb019ea856b197111f4a5bf3adf8 (patch) | |
tree | 981c7738013761ca62ada13c59ba1e25b17aca8a /src/SMAPI/Framework | |
parent | 896f98f2604f508cd94f2fcb0aa34cd914a042b5 (diff) | |
download | SMAPI-e09499f628e6fb019ea856b197111f4a5bf3adf8.tar.gz SMAPI-e09499f628e6fb019ea856b197111f4a5bf3adf8.tar.bz2 SMAPI-e09499f628e6fb019ea856b197111f4a5bf3adf8.zip |
recommend compatible SMAPI version in game version check error
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 47370afd..6c897382 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -159,20 +159,6 @@ namespace StardewModdingAPI.Framework } #endif - // validate game version - if (Constants.GameVersion.IsOlderThan(Constants.MinimumGameVersion)) - { - this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but the oldest supported version is {Constants.MinimumGameVersion}. Please update your game before using SMAPI.", LogLevel.Error); - this.PressAnyKeyToExit(); - return; - } - if (Constants.MaximumGameVersion != null && Constants.GameVersion.IsNewerThan(Constants.MaximumGameVersion)) - { - this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but this version of SMAPI is only compatible up to Stardew Valley {Constants.MaximumGameVersion}. Please check for a newer version of SMAPI: https://smapi.io.", LogLevel.Error); - this.PressAnyKeyToExit(); - return; - } - // apply game patches new GamePatcher(this.Monitor).Apply( new DialoguePatch(this.MonitorForGame, this.Reflection) |