Make ITick require explicit implementation
This commit is contained in:
committed by
Matthias Mailänder
parent
85e60ef77f
commit
28e1f391e0
@@ -29,7 +29,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public AttackFollow(Actor self, AttackFollowInfo info)
|
||||
: base(self, info) { }
|
||||
|
||||
public virtual void Tick(Actor self)
|
||||
void ITick.Tick(Actor self)
|
||||
{
|
||||
Tick(self);
|
||||
}
|
||||
|
||||
protected virtual void Tick(Actor self)
|
||||
{
|
||||
if (IsTraitDisabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user