Make INotifyIdle and INotifyBecomingIdle require explicit implementation
This commit is contained in:
committed by
Matthias Mailänder
parent
ddfed13db4
commit
761a4f29ab
@@ -92,7 +92,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
self.QueueActivity(new AttackMoveActivity(self, move.MoveTo(TargetLocation.Value, 1)));
|
||||
}
|
||||
|
||||
public void TickIdle(Actor self)
|
||||
void INotifyIdle.TickIdle(Actor self)
|
||||
{
|
||||
// This might cause the actor to be stuck if the target location is unreachable
|
||||
if (TargetLocation.HasValue && self.Location != TargetLocation.Value)
|
||||
|
||||
Reference in New Issue
Block a user