batch-process INotifyIdle, and add PerfSample wrappers for tick_idle and tick_activities

This commit is contained in:
Chris Forbes
2011-05-04 19:23:40 +12:00
parent de6ac7e650
commit 7341b1f8f8
2 changed files with 10 additions and 5 deletions

View File

@@ -89,10 +89,6 @@ namespace OpenRA
public void Tick()
{
if (currentActivity == null)
foreach (var ni in TraitsImplementing<INotifyIdle>())
ni.TickIdle(this);
currentActivity = Util.RunActivity( this, currentActivity );
}