Rename Actor.Destroy/Destroyed to Dispose/Disposed.
This commit is contained in:
@@ -75,10 +75,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return;
|
||||
|
||||
var attacker = e.Attacker;
|
||||
if (attacker.Destroyed || Stance < UnitStance.ReturnFire)
|
||||
if (attacker.Disposed || Stance < UnitStance.ReturnFire)
|
||||
return;
|
||||
|
||||
if (!attacker.IsInWorld && !attacker.Destroyed)
|
||||
if (!attacker.IsInWorld && !attacker.Disposed)
|
||||
{
|
||||
// If the aggressor is in a transport, then attack the transport instead
|
||||
var passenger = attacker.TraitOrDefault<Passenger>();
|
||||
|
||||
Reference in New Issue
Block a user