Some thoughts towards improving our bogus idle handling. Untested.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user