Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -36,12 +36,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Risks stuck units when they don't have the Paratrooper trait.")]
|
||||
public readonly bool AllowUnsuitableCell = false;
|
||||
|
||||
public override object Create(ActorInitializer init) { return new EjectOnDeath(init.Self, this); }
|
||||
public override object Create(ActorInitializer init) { return new EjectOnDeath(this); }
|
||||
}
|
||||
|
||||
public class EjectOnDeath : ConditionalTrait<EjectOnDeathInfo>, INotifyKilled
|
||||
{
|
||||
public EjectOnDeath(Actor self, EjectOnDeathInfo info)
|
||||
public EjectOnDeath(EjectOnDeathInfo info)
|
||||
: base(info) { }
|
||||
|
||||
void INotifyKilled.Killed(Actor self, AttackInfo e)
|
||||
|
||||
Reference in New Issue
Block a user