mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 14:53:56 -07:00
Fix move speed not correctly reset when chasing a unit
def47cb7ae had an issue where the move speed was not correctly reset
after chasing a unit.
Reported By: Angen
Reviewed By: Angen
Differential Revision: https://code.wildfiregames.com/D1861
This was SVN commit r22275.
This commit is contained in:
parent
6935fb665d
commit
ac47803221
1 changed files with 2 additions and 0 deletions
|
|
@ -2037,6 +2037,8 @@ UnitAI.prototype.UnitFsmSpec = {
|
|||
},
|
||||
|
||||
"leave": function() {
|
||||
this.ResetMoveSpeed();
|
||||
|
||||
// Show carried resources when walking.
|
||||
this.SetDefaultAnimationVariant();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue