Remove unused parameters and variables.

This commit is contained in:
Matthias Mailänder
2021-12-05 13:27:29 +01:00
committed by abcdefg30
parent 07815143f1
commit 9d905d8291
31 changed files with 54 additions and 59 deletions

View File

@@ -27,14 +27,14 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Should the level-up animation be suppressed when actor is created?")]
public readonly bool SuppressLevelupAnimation = true;
public override object Create(ActorInitializer init) { return new ProducibleWithLevel(init, this); }
public override object Create(ActorInitializer init) { return new ProducibleWithLevel(this); }
}
public class ProducibleWithLevel : INotifyCreated
{
readonly ProducibleWithLevelInfo info;
public ProducibleWithLevel(ActorInitializer init, ProducibleWithLevelInfo info)
public ProducibleWithLevel(ProducibleWithLevelInfo info)
{
this.info = info;
}