Update ScreenMap state in a single pass at the end of the tick.
This commit is contained in:
@@ -210,7 +210,7 @@ namespace OpenRA.Traits
|
||||
public void Add(FrozenActor fa)
|
||||
{
|
||||
frozenActorsById.Add(fa.ID, fa);
|
||||
world.ScreenMap.Add(owner, fa);
|
||||
world.ScreenMap.AddOrUpdate(owner, fa);
|
||||
partitionedFrozenActorIds.Add(fa.ID, FootprintBounds(fa));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user