From 734c727bc3629986feb5cb331a6e4e8a6b20391b Mon Sep 17 00:00:00 2001 From: danvolchek Date: Sun, 12 Jan 2020 15:24:57 -0800 Subject: set updateFound based on the suggested update response --- src/SMAPI/Framework/SCore.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SMAPI/Framework/SCore.cs') diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index c4841ece..b80f8ddf 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -590,6 +590,8 @@ namespace StardewModdingAPI.Framework else this.Monitor.Log(" SMAPI okay.", LogLevel.Trace); + updateFound = response.SuggestedUpdate?.Version; + // show errors if (response.Errors.Any()) { -- cgit