Remove preprocessor flags for NPC logs (#19281)

This commit is contained in:
metalgearsloth
2023-08-19 00:15:26 +10:00
committed by GitHub
parent e43d49697f
commit 4a7bb270a0

View File

@@ -95,12 +95,6 @@ public sealed partial class NPCSteeringSystem : SharedNPCSteeringSystem
_physicsQuery = GetEntityQuery<PhysicsComponent>(); _physicsQuery = GetEntityQuery<PhysicsComponent>();
_xformQuery = GetEntityQuery<TransformComponent>(); _xformQuery = GetEntityQuery<TransformComponent>();
#if DEBUG
Log.Level = LogLevel.Warning;
#else
Log.Level = LogLevel.Debug;
#endif
for (var i = 0; i < InterestDirections; i++) for (var i = 0; i < InterestDirections; i++)
{ {
Directions[i] = new Angle(InterestRadians * i).ToVec(); Directions[i] = new Angle(InterestRadians * i).ToVec();