Make INotifyIdle and INotifyBecomingIdle require explicit implementation

This commit is contained in:
reaperrr
2017-09-07 17:39:47 +02:00
committed by Matthias Mailänder
parent ddfed13db4
commit 761a4f29ab
7 changed files with 20 additions and 7 deletions

View File

@@ -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)