Skip to content

Commit defc58a

Browse files
housekeeping
1 parent b776e7d commit defc58a

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

Code/FileSystem/FileSystem.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using SER.Code.Helpers.ResultSystem;
77
using SER.Code.ScriptSystem;
88
using SER.Code.ScriptSystem.Structures;
9-
using EventHandler = SER.Code.EventSystem.EventHandler;
109

1110
namespace SER.Code.FileSystem;
1211

Code/Helpers/Log.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public static void Debug<T>(T obj)
1313
Logger.Raw($"Debug: {obj!.ToString()}", ConsoleColor.Gray);
1414
}
1515

16+
[Conditional("SIGNAL")]
1617
public static void Signal(object o)
1718
{
1819
Logger.Raw(o.ToString(), ConsoleColor.Magenta);

Code/MethodSystem/Methods/CustomRoleMethods/Structures/CRole.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ public class CRole
1313
{
1414
public CRole()
1515
{
16-
Log.Signal($"role {GetType().AccurateName} init");
1716
PlayerEvents.Death += OnDeath;
1817
PlayerEvents.ChangingRole += OnPlayerChangingRole;
1918
ServerEvents.RoundStarted += OnServerRoundStarted;
2019
}
2120

2221
public void Unload()
2322
{
24-
Log.Signal($"role {GetType().AccurateName} deconstr");
2523
PlayerEvents.Death -= OnDeath;
2624
PlayerEvents.ChangingRole -= OnPlayerChangingRole;
2725
ServerEvents.RoundStarted -= OnServerRoundStarted;

SER.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
<DebugSymbols>true</DebugSymbols>
2525
<DebugType>embedded</DebugType>
2626
<Optimize>false</Optimize>
27-
<DefineConstants>DEBUG;TRACE;HAVE_NULLABLE_ATTRIBUTES;LABAPI</DefineConstants>
27+
<DefineConstants>DEBUG;TRACE;HAVE_NULLABLE_ATTRIBUTES;LABAPI;SIGNAL</DefineConstants>
2828
<OutputPath>bin\LABAPI\</OutputPath>
2929
</PropertyGroup>
3030

3131
<PropertyGroup Condition="'$(Configuration)'=='Partial Debug'">
3232
<DebugSymbols>true</DebugSymbols>
3333
<DebugType>embedded</DebugType>
3434
<Optimize>false</Optimize>
35-
<DefineConstants>TRACE;HAVE_NULLABLE_ATTRIBUTES;LABAPI</DefineConstants>
35+
<DefineConstants>TRACE;HAVE_NULLABLE_ATTRIBUTES;LABAPI;SIGNAL</DefineConstants>
3636
<OutputPath>bin\LABAPI\</OutputPath>
3737
</PropertyGroup>
3838

0 commit comments

Comments
 (0)