Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
throw new NotImplementedException("EditorActorLayer must not be defined on the world actor");
|
||||
}
|
||||
|
||||
public override object Create(ActorInitializer init) { return new EditorActorLayer(init.Self, this); }
|
||||
public override object Create(ActorInitializer init) { return new EditorActorLayer(this); }
|
||||
}
|
||||
|
||||
public class EditorActorLayer : IWorldLoaded, ITickRender, IRender, IRadarSignature, ICreatePlayers, IRenderAnnotations
|
||||
@@ -47,7 +47,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public MapPlayers Players { get; private set; }
|
||||
|
||||
public EditorActorLayer(Actor self, EditorActorLayerInfo info)
|
||||
public EditorActorLayer(EditorActorLayerInfo info)
|
||||
{
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user