summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-28 20:48:28 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-28 20:48:28 -0400
commit6b411d1dee49a636a8a8c9a88d9cfc0720c7c1dd (patch)
treefe633fbdf6ed614c32345d46038b554711d9b7a2
parent6d11c41facb2e1397a25110517cc281f87be2caf (diff)
downloadSMAPI-6b411d1dee49a636a8a8c9a88d9cfc0720c7c1dd.tar.gz
SMAPI-6b411d1dee49a636a8a8c9a88d9cfc0720c7c1dd.tar.bz2
SMAPI-6b411d1dee49a636a8a8c9a88d9cfc0720c7c1dd.zip
fix deprecation check
-rw-r--r--src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs
index 338192af..4c76f417 100644
--- a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs
+++ b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs
@@ -18,7 +18,7 @@ namespace StardewModdingAPI.Toolkit.Framework.ModData
/// <summary>The mod patches the game in a way that may impact stability.</summary>
PatchesGame = 4,
-#if SMAPI_FOR_WINDOWS
+#if SMAPI_DEPRECATED
/// <summary>The mod uses the <c>dynamic</c> keyword which won't work on Linux/macOS.</summary>
[Obsolete("This value is no longer used by SMAPI and will be removed in the upcoming SMAPI 4.0.0.")]
UsesDynamic = 8,