summaryrefslogtreecommitdiff
path: root/src/SMAPI/Constants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Constants.cs')
-rw-r--r--src/SMAPI/Constants.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs
index a898fccd..9d510d2d 100644
--- a/src/SMAPI/Constants.cs
+++ b/src/SMAPI/Constants.cs
@@ -52,6 +52,14 @@ namespace StardewModdingAPI
/****
** Internal
****/
+ /// <summary>Whether SMAPI was compiled in debug mode.</summary>
+ internal const bool IsDebugBuild =
+#if DEBUG
+ true;
+#else
+ false;
+#endif
+
/// <summary>The URL of the SMAPI home page.</summary>
internal const string HomePageUrl = "https://smapi.io";