Actor properties consistency improved
This commit is contained in:
@@ -76,14 +76,14 @@ namespace OpenRA.Mods.RA
|
||||
preventDock = true;
|
||||
|
||||
// Cancel the dock sequence
|
||||
if (dockedHarv != null && !dockedHarv.IsDead())
|
||||
if (dockedHarv != null && !dockedHarv.IsDead)
|
||||
dockedHarv.CancelActivity();
|
||||
}
|
||||
|
||||
public void Tick(Actor self)
|
||||
{
|
||||
// Harvester was killed while unloading
|
||||
if (dockedHarv != null && dockedHarv.IsDead())
|
||||
if (dockedHarv != null && dockedHarv.IsDead)
|
||||
{
|
||||
self.Trait<RenderBuilding>().CancelCustomAnim(self);
|
||||
dockedHarv = null;
|
||||
|
||||
Reference in New Issue
Block a user