From 3c262afaa4e064e2732a2b3717474dcf720e87e8 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 15 Jul 2023 16:14:03 +0200 Subject: [PATCH] Why would you put an attribute inside an ifdef like that, god. --- Robust.Shared/Log/ConsoleLogHandler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Robust.Shared/Log/ConsoleLogHandler.cs b/Robust.Shared/Log/ConsoleLogHandler.cs index 7b55455f477..2633b8ec50a 100644 --- a/Robust.Shared/Log/ConsoleLogHandler.cs +++ b/Robust.Shared/Log/ConsoleLogHandler.cs @@ -4,6 +4,7 @@ using System.Text; using System.Text.Unicode; using System.Timers; +using JetBrains.Annotations; using Serilog.Events; using TerraFX.Interop.Windows; @@ -84,9 +85,7 @@ public ConsoleLogHandler() }; } -#if DEBUG [UsedImplicitly] -#endif public static void TryDetachFromConsoleWindow() { if (OperatingSystem.IsWindows())