reduce spam in log

This commit is contained in:
Chris Forbes
2010-04-29 16:00:02 +12:00
parent 6b82f21569
commit 0e5c06521c
2 changed files with 7 additions and 7 deletions

View File

@@ -148,8 +148,8 @@ namespace OpenRA
var t = sw.ElapsedTime();
x.Trait.Tick( x.Actor );
var dt = sw.ElapsedTime() - t;
if( dt > 0.001 )
Log.Write( "expensive tick: {0}->{1}", x.Actor.Info.Name, x.Trait.GetType() );
// if( dt > 0.001 )
// Log.Write( "expensive tick: {0}->{1}", x.Actor.Info.Name, x.Trait.GetType() );
} );
foreach (var e in effects) e.Tick( this );