ActorIndex: make constructor protected to allow defining custom actor indexes

This commit is contained in:
michaeldgg2
2025-12-20 16:53:16 +01:00
committed by Gustas Kažukauskas
parent 06e4a2e010
commit 06e3e013be

View File

@@ -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;