Move EnterBehaviour behaviour to Enter.

This commit is contained in:
Paul Chote
2015-12-30 19:50:26 +00:00
parent a580aa1f27
commit f5fafb1b9d
8 changed files with 16 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.Activities
readonly BridgeHut hut;
public RepairBridge(Actor self, Actor target)
: base(self, target)
: base(self, target, EnterBehaviour.Dispose)
{
hut = target.Trait<BridgeHut>();
}