Consider dead aircraft to no longer be in range
This commit is contained in:
committed by
Paul Chote
parent
ee19cb61b4
commit
3093f67427
@@ -106,6 +106,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
Action<Actor> onRemovedFromWorld = a =>
|
||||
{
|
||||
aircraftInRange[a] = false;
|
||||
|
||||
// Checking for attack range is not relevant here because
|
||||
// aircraft may be shot down before entering. Thus we remove
|
||||
// the camera and beacon only if the whole squad is dead.
|
||||
|
||||
@@ -133,6 +133,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
Action<Actor> onRemovedFromWorld = a =>
|
||||
{
|
||||
aircraftInRange[a] = false;
|
||||
|
||||
// Checking for attack range is not relevant here because
|
||||
// aircraft may be shot down before entering. Thus we remove
|
||||
// the camera and beacon only if the whole squad is dead.
|
||||
|
||||
Reference in New Issue
Block a user