Remove preprocessor flags for NPC logs (#19281)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user