summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authordanvolchek <danvnad@gmail.com>2020-01-12 15:24:57 -0800
committerdanvolchek <danvnad@gmail.com>2020-01-12 15:24:57 -0800
commit734c727bc3629986feb5cb331a6e4e8a6b20391b (patch)
tree35169fce49b72bf78ba84296a1daa4741644aaba /src/SMAPI/Framework/SCore.cs
parent8b1fd90c6e72bff99d81a3b9614fdeaa6f67a950 (diff)
downloadSMAPI-734c727bc3629986feb5cb331a6e4e8a6b20391b.tar.gz
SMAPI-734c727bc3629986feb5cb331a6e4e8a6b20391b.tar.bz2
SMAPI-734c727bc3629986feb5cb331a6e4e8a6b20391b.zip
set updateFound based on the suggested update response
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 2 insertions, 0 deletions
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())
{