Make Wanders.TickIdle virtual

So inheriting traits can override it.
This commit is contained in:
reaperrr
2016-06-24 16:36:04 +02:00
parent 4eb17e1642
commit 38e1d409ff

View File

@@ -53,7 +53,7 @@ namespace OpenRA.Mods.Common.Traits
countdown = self.World.SharedRandom.Next(info.MinMoveDelay, info.MaxMoveDelay);
}
public void TickIdle(Actor self)
public virtual void TickIdle(Actor self)
{
// The countdown has not have been set at this point, so don't check yet
if (firstTick)