Remove redundant ISync and ITick from Attack* traits
ISync is implemented by AttackBase, so there's no need for other Attack traits to implement it again. AttackTurreted inherits AttackFollow, which already implements ITick.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override object Create(ActorInitializer init) { return new AttackTurreted(init.Self, this); }
|
||||
}
|
||||
|
||||
public class AttackTurreted : AttackFollow, ITick, ISync
|
||||
public class AttackTurreted : AttackFollow
|
||||
{
|
||||
protected Turreted[] turrets;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user