Add plumbing for notifying traits of movement
More precisely, about start and stop of movement.
This commit is contained in:
@@ -94,8 +94,6 @@ namespace OpenRA.Mods.Cnc.Activities
|
||||
// We are at the destination
|
||||
if (++ticks >= length)
|
||||
{
|
||||
mobile.IsMoving = false;
|
||||
|
||||
// Revoke the run condition
|
||||
attack.IsAiming = false;
|
||||
|
||||
@@ -113,8 +111,6 @@ namespace OpenRA.Mods.Cnc.Activities
|
||||
return this;
|
||||
}
|
||||
|
||||
mobile.IsMoving = true;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user