Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -34,14 +34,14 @@ namespace OpenRA.Mods.Common.Traits
|
||||
"Use an empty list (the default) to allow all DeathTypes.")]
|
||||
public readonly BitSet<DamageType> DeathTypes = default(BitSet<DamageType>);
|
||||
|
||||
public override object Create(ActorInitializer init) { return new RevealOnDeath(init.Self, this); }
|
||||
public override object Create(ActorInitializer init) { return new RevealOnDeath(this); }
|
||||
}
|
||||
|
||||
public class RevealOnDeath : ConditionalTrait<RevealOnDeathInfo>, INotifyKilled
|
||||
{
|
||||
readonly RevealOnDeathInfo info;
|
||||
|
||||
public RevealOnDeath(Actor self, RevealOnDeathInfo info)
|
||||
public RevealOnDeath(RevealOnDeathInfo info)
|
||||
: base(info)
|
||||
{
|
||||
this.info = info;
|
||||
|
||||
Reference in New Issue
Block a user