Remove ProductionDoorOverlay while transforming
This commit is contained in:
committed by
Paul Chote
parent
acf25354b0
commit
7f77e4cf40
@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class WithProductionDoorOverlay : INotifyBuildComplete, ITick, INotifyProduction, INotifySold, INotifyDamageStateChanged
|
class WithProductionDoorOverlay : INotifyBuildComplete, ITick, INotifyProduction, INotifySold, INotifyTransform, INotifyDamageStateChanged
|
||||||
{
|
{
|
||||||
readonly Animation door;
|
readonly Animation door;
|
||||||
|
|
||||||
@@ -82,5 +82,9 @@ namespace OpenRA.Mods.Common.Traits.Render
|
|||||||
|
|
||||||
void INotifySold.Selling(Actor self) { buildComplete = false; }
|
void INotifySold.Selling(Actor self) { buildComplete = false; }
|
||||||
void INotifySold.Sold(Actor self) { }
|
void INotifySold.Sold(Actor self) { }
|
||||||
|
|
||||||
|
void INotifyTransform.BeforeTransform(Actor self) { buildComplete = false; }
|
||||||
|
void INotifyTransform.OnTransform(Actor self) { }
|
||||||
|
void INotifyTransform.AfterTransform(Actor self) { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user