Revert "Fix actors disappearing for a tick when swapping to the frozen actor."
This reverts commit 2eb090f153.
This fixes flicker for the actor->frozen transition, but then introduces the same flicker for the frozen->actor transition instead.
This commit is contained in:
@@ -253,10 +253,6 @@ namespace OpenRA.Traits
|
||||
}
|
||||
|
||||
void ITick.Tick(Actor self)
|
||||
{
|
||||
// Update visibility at the end of the tick to make sure that
|
||||
// the fog/shroud state has been updated for the tick
|
||||
self.World.AddFrameEndTask(w =>
|
||||
{
|
||||
UpdateDirtyFrozenActorsFromDirtyBins();
|
||||
|
||||
@@ -285,7 +281,6 @@ namespace OpenRA.Traits
|
||||
|
||||
foreach (var fa in frozenActorsToRemove)
|
||||
Remove(fa);
|
||||
});
|
||||
}
|
||||
|
||||
void UpdateDirtyFrozenActorsFromDirtyBins()
|
||||
|
||||
Reference in New Issue
Block a user