This commit is contained in:
JustArchi
2015-11-04 05:01:18 +01:00
parent e3386c5b29
commit 27ad98492f

View File

@@ -27,7 +27,7 @@ using System.Diagnostics;
namespace ArchiSteamFarm {
internal static class Debugging {
internal static bool IsDebugBuild { get; private set; } = false;
internal static bool IsReleaseBuild { get; private set; } = !IsDebugBuild;
internal static bool IsReleaseBuild { get { return !IsDebugBuild; } }
static Debugging() {
MarkIfDebug();
@@ -36,7 +36,6 @@ namespace ArchiSteamFarm {
[Conditional("DEBUG")]
private static void MarkIfDebug() {
IsDebugBuild = true;
IsReleaseBuild = !IsDebugBuild;
}
}
}