summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-29 23:04:25 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-29 23:04:25 -0400
commit097df9076d0ab189ca9fe84cc4f61d52b607376a (patch)
treeb49662ff3b279f2db4c67eb8d3fcdabf8eafaaef
parenta1e1b7d10393dc23fa306ef03e392aa03e0b9ee1 (diff)
downloadSMAPI-097df9076d0ab189ca9fe84cc4f61d52b607376a.tar.gz
SMAPI-097df9076d0ab189ca9fe84cc4f61d52b607376a.tar.bz2
SMAPI-097df9076d0ab189ca9fe84cc4f61d52b607376a.zip
fix build error on Linux/Mac
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 06d9eac1..53e41afb 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -214,7 +214,7 @@ namespace StardewModdingAPI.Framework
if (Constants.Platform == Platform.Windows)
{
this.Monitor.Log($"Oops! You're running {Constants.Platform}, but this version of SMAPI is for Windows. Please reinstall SMAPI to fix this.", LogLevel.Error);
- this.PressAnyKeyToExit();
+ this.LogManager.PressAnyKeyToExit();
}
#endif
}