Core/Movement: Fixes scripts that use stuff like SetOrientation after a waypoint, why are we checking if we are charging? when pointmovement can be used to just move points.
This commit is contained in:
@@ -99,8 +99,8 @@ namespace Game.Movement
|
|||||||
|
|
||||||
public override void DoFinalize(T owner)
|
public override void DoFinalize(T owner)
|
||||||
{
|
{
|
||||||
if (owner.HasUnitState(UnitState.Charging))
|
//if (owner.HasUnitState(UnitState.Charging))
|
||||||
owner.ClearUnitState(UnitState.Roaming | UnitState.RoamingMove);
|
owner.ClearUnitState(UnitState.Roaming | UnitState.RoamingMove);
|
||||||
|
|
||||||
if (owner.moveSpline.Finalized())
|
if (owner.moveSpline.Finalized())
|
||||||
MovementInform(owner);
|
MovementInform(owner);
|
||||||
|
|||||||
Reference in New Issue
Block a user