Some thoughts towards improving our bogus idle handling. Untested.

This commit is contained in:
Paul Chote
2010-11-29 13:15:44 +13:00
parent 7850acc6fb
commit c7f1d08748
7 changed files with 97 additions and 149 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA
public void Tick()
{
if (currentActivity == null)
if (currentActivity == null || currentActivity is Idle)
foreach (var ni in TraitsImplementing<INotifyIdle>())
ni.TickIdle(this);