ActorIndex: make constructor protected to allow defining custom actor indexes
This commit is contained in:
committed by
Gustas Kažukauskas
parent
06e4a2e010
commit
06e3e013be
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common
|
||||
|
||||
public IReadOnlyCollection<Actor> Actors => actors;
|
||||
|
||||
ActorIndex(World world, IEnumerable<Actor> initialActorsToIndex)
|
||||
protected ActorIndex(World world, IEnumerable<Actor> initialActorsToIndex)
|
||||
{
|
||||
this.world = world;
|
||||
world.ActorAdded += AddActor;
|
||||
|
||||
Reference in New Issue
Block a user